Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
MM
Last edited Mar 14, 2024
Created on Mar 14, 2024
This visualization displays the top 10 countries by death cases in 2021 using a horizontal bar chart. The chart maps country names on the y-axis and population values on the x-axis, with blue bars representing each country's population. The React application uses d3.scaleBand and d3.scaleLinear to position bars and axes, while d3.csv loads the data from a GitHub-hosted CSV file. The visualization is rendered as an SVG element, with the code demonstrating how React manages state and D3 handles data processing and scaling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed