Fork of Line Chart - Project 16
✓ Published0🌍 Public
This visualization shows the relationship between glucose levels and BMI across countries, with each line representing a country's trajectory through the dataset. The chart uses a D3 line generator with curve basis to create smooth paths, scales from d3.scaleLinear for both axes, and d3.scaleOrdinal with schemeCategory10 for color encoding. Data is loaded from a CSV file using d3.csv, nested by country with d3.nest, and rendered as SVG. A custom colorLegend component displays the categorical color mapping.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
MIT Licensed