🌍 Public
Viewing a saved revision (read-only)
7ab0ccb3e18e489fbf023d6f2322b4a5
Fork of line chart
This example shows a line chart tracking the number of students enrolled per month, with the x-axis representing time and the y-axis representing enrollment counts. The visualization uses D3.js v7 to load a CSV dataset, parse month names into date objects, and render an SVG line chart with axes and labels. It employs `d3.scaleTime` and `d3.scaleLinear` for scales, `d3.line` for the path generator, and `d3.axisBottom`/`d3.axisLeft` for ticks. The data comes from a remote CSV file, and the chart includes rotated y-axis and bottom x-axis titles.
AI-generated description