🌍 Public
Viewing a saved revision (read-only)
850eccf4e36f4b13891dc625936932cd
Fork of 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 descriptionA demonstration of how to start using D3 version 6.