Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

raks

Public visualization

raks

0 stars0🌍 Public
RRakshithaRao27
Last edited Mar 6, 2022
Created on Mar 6, 2022

This visualization shows the top 10 countries by deaths in India, rendered as horizontal bars across a purple background with a title and axes. The chart uses a bar chart layout where the bar lengths represent population values, with country names on the y-axis and numeric values on the x-axis. The implementation uses React for the component structure, with D3 v5's `scaleBand` and `scaleLinear` for scaling, and `csv` for data loading from a GitHub-hosted dataset. SVG elements—including `rect` for bars and `line` for gridlines—are generated within the React return, all styled via CSS.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed