Line Chart FOR TIME AND MARKS
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed