Skip to main content
100%

Melting Data for Multiple Lines

✓ Published1🌍 Public
Iinroadings
Last edited Mar 31, 2020
Created on Mar 28, 2020

This example shows COVID-19 death counts for multiple countries over time, with each country represented as a colored line and labeled at its final value. The visualization uses a line generator with a basis curve, along with nested data grouping to separate countries. It displays the data on linear scales for both axes and includes a color legend in the corner. The code imports and processes data from two CSV files, filtering and merging them to build the dataset, and renders the chart as an SVG using D3 v5 APIs like `d3.nest`, `d3.line`, and `d3.axisLeft`.

AI-generated description
MIT Licensed

Similar vizzes