Barchart Test
✓ Published1🌍 Public
This example shows a horizontal bar chart comparing the number of downloads for two mobile device categories. The bars are rendered as SVG rectangles using React, with scales created by `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis. It uses `d3.csv` to load data from a GitHub gist, filtering the dataset to two rows. The chart includes grid lines and tick labels generated from `xScale.ticks()`, while y-axis labels are positioned manually from the scale’s domain.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed