Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

line chart IN ICE_6

Public visualization

line chart IN ICE_6

0 stars3🌍 Public
Vvenigallajaanu@gmail.com
Last edited Apr 2, 2025
Created on Mar 31, 2025
Forked from pie chart

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

Comments

Sign in to join the discussion.

MIT Licensed