Axis with React & D3
✓ Published1🌍 Public
This example displays a horizontal bar chart of population figures for eleven countries, using a D3 scaleBand for the y-axis and scaleLinear for the x-axis. React components such as AxisBottom, AxisLeft, and Marks render the SVG elements, with d3.csv loading UN population data from a GitHub gist. The chart supports formatted tick labels using d3.format and interactive tooltips via SVG title elements.
AI-generated descriptionA program that loads in some data and presents it with React.
MIT Licensed