Fork of Fork of Fork of Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
This example shows a horizontal bar chart of the top 10 countries by population in 2019, with the title “highest population.” It uses React for component rendering and d3.scaleBand and d3.scaleLinear to map country names and population values to SVG rectangles. The data is loaded via d3.csv from a GitHub gist, and the chart includes a blue x-axis grid with tick labels and y-axis country labels, all rendered as SVG elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed