Fork of ICE-6: Rendering Marks and Channels (Bar Chart)
✓ Published0🌍 Public
MM
Last edited Mar 14, 2024
Created on Mar 14, 2024
Forked from ICE-6: Rendering Marks and Channels (Bar Chart)
This bar chart displays the population of three countries in 2022, using horizontal rectangles to encode population size and country names as category labels. The visualization is built with React for component structure and D3 v5 for data binding and scales—specifically `d3.scaleBand` for the y-axis, `d3.scaleLinear` for the x-axis, and `d3.max` to set the domain. Data is loaded asynchronously from a CSV file using `d3.csv`. The chart includes axis ticks and gridlines, with all marks rendered as SVG elements.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed