Skip to main content
100%

Working with Time

✓ Published0🌍 Public
Ggabrielribeirob
Last edited Nov 10, 2021
Created on Nov 10, 2021
Forked from LineChart

This example shows monthly gross profit and units sold over time, with two line charts sharing a time axis. It uses D3 v5 and React, loading data from a CSV file via `d3.csv`. The code employs `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to render the axes, while `line` draws the paths. The visualization compares two metrics across the same 2020–2021 period, with points and lines styled from the data.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes