Skip to main content
100%

Assignment 6 -- Multiline chart with a qualitative color scale

✓ Published0🌍 Public
Vvishusikka
Last edited Mar 18, 2022
Created on Mar 8, 2022
Forked from Multiline chart

A multiline chart shows annual net forest conversion for South American countries from 1990 to 2015, with each country’s time series drawn as a separate line using a qualitative color scale via d3.scaleOrdinal and d3.schemeCategory10. The visualization uses d3.csv to load the data, d3.nest to group by entity, and d3.line with d3.scaleTime and d3.scaleLinear for axes. SVG paths render the lines, and hover interactions trigger a yellow tooltip displaying the country name. The chart includes a legend and title, with the y-axis domain set from the minimum value to zero.

AI-generated description
MIT Licensed

Similar vizzes