Lesson 3
✓ Published0🌍 Public
This visualization shows a comparison of student heights in a horizontal bar chart, with each bar colored by eye color (black, blue, or brown). The data comes from a CSV file about students. Two charts are rendered side-by-side, one with bars sorted by height and the other sorted by student name. The code uses `d3.csv`, `scaleLinear`, `scaleBand`, and `axisLeft` to load and display the data as SVG rectangles, with manual legend circles and text. Custom colors are applied directly via conditional fill attributes.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
This data was taken from The world bank data website
MIT Licensed