π Public
Viewing a saved revision (read-only)
8f9542e7f92c498a9fef99e91a9b9aa8
Charan Fork of line chart section 3
This fork demonstrates the change in the number of students from 2014 to 2022, rendered as an SVG line chart using D3 v5. The x-axis is scaled with `scaleTime` against parsed year values, while the y-axis uses `scaleLinear` to map the student counts. The data is loaded from a CSV file provided via a GitHub gist URL. The line path is drawn with the `line` generator, and custom axis labels are positioned with the `axisLeft` and `axisBottom` functions, with grid lines created via tick sizing.
AI-generated description