🌍 Public
ICE7-Q2b Line
A line chart shows the relationship between study hours and student scores, with a smooth curve indicating a positive trend. The visualization uses D3 v7 to load a CSV file, sort the data by hours, and render an SVG with linear scales for both axes. Gridlines and axis labels are generated using `d3.axisBottom` and `d3.axisLeft`, while the line path is drawn with `d3.line` and a monotone X curve to create smooth interpolation. The chart includes a title and axis labels, with data points from the `study_hours.csv` source.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.