Grafico de barras com eixos (axis)
✓ Published1🌍 Public
This example shows a horizontal bar chart of the top ten countries by estimated 2020 population, with labeled x- and y-axes rendered as SVG elements. The React app loads the UN population dataset via `d3.csv`, then uses `scaleBand` for country categories and `scaleLinear` for population values. Axes are manually drawn by mapping `xScale.ticks()` to grid lines and labels, while country names are positioned against the band scale. The bars themselves are simple `rect` elements whose width derives from the linear scale.
AI-generated descriptionPrograma que renderiza dados usando React e processa o D3-arc. (radial burst).
MIT Licensed