Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed