Skip to main content
100%

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

✓ Published1🌍 Public
SSanchay
Last edited Mar 1, 2022
Created on Mar 1, 2022

This bar chart displays the top 10 most populous countries for 2019, sourced from a CSV file loaded via d3.csv. Built with React and D3 v5, the visualization maps country names to a d3.scaleBand y-axis and population values to a d3.scaleLinear x-axis, rendering SVG rectangles for each data mark. Axis ticks and labels are generated manually using React components, while d3.axisBottom and d3.axisLeft are imported but not directly used in the rendered output. The chart updates reactively once the data loads.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes