🌍 Public
Viewing a saved revision (read-only)
8d94ad7ee9814703acac146ee11412f9
ICE-6: Rendering Marks and Channels with React & D3
This horizontal bar chart displays the crime index for fifteen countries in 2020, with bars sorted by country name. Using the React framework, the example integrates D3’s `scaleBand` and `scaleLinear` to map categorical and quantitative data, while rendering SVG rectangles for bars and axes via `axisLeft` and `axisBottom` logic. Data is loaded asynchronously from a CSV file using D3’s `csv` function, and the visualization updates upon fetching the top 15 entries.
AI-generated descriptionA bare minimum HTML page.