Skip to main content
100%

ICE-6: Rendering Marks and Channels with React & D3

✓ Published0🌍 Public
Bbhanuprasadk19
Last edited Mar 11, 2023
Created on Mar 11, 2023
Forked from HTML Starter

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 description

A bare minimum HTML page.

MIT Licensed

Similar vizzes