rao
✓ Published0🌍 Public
RRakshithaRao27
Last edited Mar 6, 2022
Created on Mar 6, 2022
This example displays a horizontal bar chart of the top 10 most populous countries, ranking them by the number of deaths in India. The visualization uses React to manage state and render the SVG, while D3 v5 handles data loading, scales, and axes. The code fetches data from a CSV file using `d3.csv`, then applies `scaleBand` for the categorical country axis and `scaleLinear` for the numeric death count axis, drawing rectangles for each bar.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed