To get a C (75) your assignment submission should:
- Implement a bar chart with a Sequential color scale
- The data must be read from a CSV file
- The chart must have clearly legible axis labels and tick marks
- The visualization must have a color legend associated with it that must be displayed appropriately. To display the Color Legend, use Susie Lu's d3-legend library - https://d3-legend.susielu.com/ (scroll down on her webpage to see some great examples).
To get a B (85) your assignment submission should:
- Complete the requirements for a C and
- Implement a diverging bar chart with a Diverging color scale
- The data must be read from a CSV file
- The chart must have clearly legible axis labels and tick marks
- The visualization must have a color legend associated with it that must be displayed appropriately. To display the Color Legend, use Susie Lu's d3-legend library - https://d3-legend.susielu.com/
To get a A (95) your assignment submission should:
- Complete the requirements for a B and
- Implement a scatterplot (with 2 quantitative variables and a qualitative variable) with a Qualitative color scale
- The data must be read from a CSV file
- The chart must have clearly legible axis labels and tick marks
- The visualization must have a color legend associated with it that must be displayed appropriately. To display the Color Legend, use Susie Lu's d3-legend library - https://d3-legend.susielu.com/.
To get an A+ (100) your assignment submission should:
- Complete the requirements for an A and
- Use color scales from the Colorbrewer website - Refer to this example
- Create a line chart with at least 4 separate lines colored using a qualitative color scale with the appropriate legend
Helpful links and tutorials:
- d3 documentation on color scales
- Short chapter on D3 Color Scale from the "Using D3js" book
- Diverging color scale interpolators built into D3
- Sequential color scale interpolators built into D3
Submitting the assignment
- For every visualization, post a link to your Vizhub sketch (mark it private, invite the TA and me as collaborators) and test it out before posting a link to it on your own website.
- Submit a link to your website on Canvas.