Skip to main content
100%

Fork of LineChart

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

This example shows gross profit per month from a CSV dataset, plotting each month’s value as a smoothed line over a time-based x-axis. The chart uses D3 v7 with SVG rendering, employing `d3.csv` for data loading, `scaleLinear` for both axes, `line` with `curveBasis` for the path, and `axisLeft`/`axisBottom` for labeled ticks. The code also includes a rotated y-axis label and a title, with margins defined for layout.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes