Skip to main content
100%

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

✓ Published0🌍 Public
Ssai snehith nadipally
Last edited Mar 21, 2024
Created on Mar 21, 2024

This example displays a horizontal bar chart of the top 10 most populous countries in 2019, using population data loaded from a CSV file. The visualization is built with React and D3 v5, rendering SVG marks (rectangles) and channels (position and length) to encode the data values. It uses `scaleBand` and `scaleLinear` for axes, along with manual tick rendering and axis labels, all within a React component that fetches data with `csv`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes