Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Rendering Marks and Channels with React & D3

Public visualization

Fork of Rendering Marks and Channels with React & D3

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed