Skip to main content
100%

Fork of Fork of Fork of line chart section 3

✓ Published0🌍 Public
Ccharanchand9
Last edited Jul 3, 2022
Created on Jul 3, 2022

This example visualizes student enrollment data from 2014 to 2022 as a single red line chart. The x-axis maps years using a time scale, while the y-axis maps student counts with a linear scale. The code imports D3 v5 modules like `csv`, `scaleLinear`, `scaleTime`, `axisBottom`, and `line` to load the data, create axes with gridlines, and draw the path. The data is fetched from a GitHub Gist and rendered as an SVG.

AI-generated description
MIT Licensed

Similar vizzes