🌍 Public
Viewing a saved revision (read-only)
279cd797e39344679933ce4b086389b4
ICE-6: Rendering Marks and Channels with React & D3
Ttejasviprasad06@gmail.com
Last edited Mar 9, 2023
Created on Mar 8, 2023
This example displays a horizontal bar chart of COVID-19 death counts for 15 countries, ranked by total deaths. Built with React and D3 v5, it renders SVG marks through React components, using D3’s `scaleBand` for the categorical y-axis, `scaleLinear` for the quantitative x-axis, and `csv` to load the external dataset. The code manually draws gridlines, axis ticks, and labels, with each bar’s width mapped to the death count.
AI-generated descriptionA bare minimum HTML page.