🌍 Public
Viewing a saved revision (read-only)
2e072f7c51584b7c99b98878eabf7e90
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