Skip to main content
100%

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

✓ Published0🌍 Public
Ppreethamkesa
Last edited Mar 5, 2022
Created on Mar 5, 2022

This visualization is a React application that displays a horizontal bar chart of the top 10 most populous countries. The chart uses D3.js version 5 to load CSV data, and scales the bar lengths according to each country's population. The React component renders SVG elements, creating bars with lengths proportional to the values, and uses D3's `scaleBand` and `scaleLinear` for positioning and scaling. It includes axis tick marks and labels generated with D3's `ticks` function.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes