Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 Public
Vvegurusaiprathyusha
Last edited Mar 7, 2022
Created on Mar 7, 2022

This fork of an ICE-6 example visualizes the top 10 most populous countries as a bar chart, rendered as SVG marks within a React application. Using D3’s `scaleBand` and `scaleLinear` for axes, it maps country names to y-positions and population values to bar widths, with axis lines and tick labels generated from D3's scale methods. Data is loaded asynchronously from a CSV URL via `d3.csv`, and the chart is updated through React state management as the data loads.

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