🌍 Public
Viewing a saved revision (read-only)
a49a4d2ddf24482ca891705e8d77c25c
line chart IN ICE_6
This example shows a line chart of the total marks for the top 10 students from a CSV dataset, with each student’s name on the x-axis and their mark on the y-axis. The code uses D3.js v7 to load the data via `d3.csv`, create the SVG chart with `d3.scalePoint` and `d3.scaleLinear`, and draw the line path with `d3.line()`. Individual data points are marked with orange circles, and axes are added using `d3.axisBottom` and `d3.axisLeft`, alongside rotated labels and a title.
AI-generated description