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
SSnapika
Last edited Mar 6, 2022
Created on Mar 6, 2022

This visualization is a horizontal bar chart showing the ten most populous countries, with a title above the chart. The chart uses SVG rendering within a React application, leveraging D3’s `scaleBand` for the categorical y-axis, `scaleLinear` for the continuous x-axis, and manual mapping of data to `rect` marks for each country. The code also uses D3’s `csv` loader to fetch population data from an external file, with axes constructed using `axisLeft` and `axisBottom`.

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