Skip to main content
100%

Line Chart FOR TIME AND MARKS

✓ Published0🌍 Public
Aakhilgupta11
Last edited Mar 11, 2023
Created on Mar 11, 2023
Forked from HTML Starter

This visualization displays a line chart tracking GPA against time spent studying, with hours on the x-axis and GPA (out of 5) on the y-axis. The chart uses d3.scaleTime for the temporal axis, d3.scaleLinear for the GPA axis, and d3.line to generate the path. Data is loaded via d3.csv from an external gist, parsed with d3.timeParse, and rendered as an SVG with gridlines, axis labels, and a green line. The code also leverages d3.axisBottom and d3.axisLeft for tick marks.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes