Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of line chart section 3

Public visualization

Viewing a saved revision (read-only)

458906336e124a9184bec2e968c77c95

Fork of Fork of line chart section 3

0 stars2🌍 Public
Ggayathri
Last edited Mar 27, 2022
Created on Mar 27, 2022

This visualization shows the number of students from 2014 to 2022 as a single red line chart, with time on the x-axis and student counts on the y-axis. The chart uses D3 v5’s `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` generators to render the SVG path. Data is loaded from a CSV file via `d3.csv` and parsed with `d3.timeParse`. Axis labels and grid lines are styled through CSS classes, with margins applied to position the plot area.

AI-generated description