delphinefoo / ucsc-biomolecular-exercise

A simple visualization of cancer cases by type and location using Meteor and d3.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cancer count visualization

Screenshot of cancer count visualization

You can interact with this data visualization at ucsc-bio-delphine.meteor.com.

Bugs found in original code:

  • Unnecessary closing bracket in var key declaration
  • Unnecessary comma at end of 'patients' array
  • 'return' written 'ret' at end of color_map function
  • 'patients' array not declared with 'var'
  • if statement inside color_map function should read 'if (!(key in value_color_map))'

About

A simple visualization of cancer cases by type and location using Meteor and d3.js


Languages

Language:JavaScript 88.6%Language:HTML 6.0%Language:CSS 5.5%