Skip to main content
100%

Fork of Rendering Marks and Channels with React & D3

✓ Published0🌍 Public
Iiffath.namira@csedge.org
Last edited Jan 10, 2025
Created on Jan 10, 2025

This example shows a horizontal bar chart of the top 10 most populous countries in 2019, sourced from a CSV file. It uses React components to render SVG marks and channels, with D3 v5 handling data loading via `d3.csv`, scales (`scaleBand`, `scaleLinear`), and axis tick generation. The chart encodes country names on the y-axis and population values on the x-axis, with grid lines and labeled axes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes