🌍 Public
Viewing a saved revision (read-only)
6b2083671c3348da9f4b0de91edb74c8
Fork of Cat smiley
This example displays a horizontal bar chart of the top ten students by height, sourced from a CSV file loaded with `d3.csv`. The visualization uses React to manage state and render an SVG, while D3’s `scaleBand` and `scaleLinear` position the bars and axes. Axis ticks and gridlines are generated with `xScale.ticks()`, and each bar is a styled `rect` element. The chart updates asynchronously after data loads, showing a loading message until then.
AI-generated descriptionA whole smiley face