Multi-Series Line Chart (Student_ID vs Hours, Sleep, Score)
✓ Published0🌍 Public
This example uses a multi-series line chart to compare hours studied, sleep hours, and exam scores for each student, allowing viewers to spot trends across the dataset. The D3.js code loads a CSV file, dynamically detects column names, and renders three colored lines on a shared axis. It employs `d3.dsvFormat` for parsing and `d3.select` for SVG manipulation, with a custom legend indicating each series. The chart is rendered as an SVG with a dark theme and styled axes.
AI-generated descriptionMIT Licensed