Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Charan Fork of line chart section 3

Public visualization

Viewing a saved revision (read-only)

8f9542e7f92c498a9fef99e91a9b9aa8

Charan Fork of line chart section 3

0 stars1🌍 Public
Ccharanchand9
Last edited Jul 3, 2022
Created on Jul 3, 2022

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