🌍 Public
Viewing a saved revision (read-only)
ffb31bb32c2d44e688fd83f1490cedaf
Grafico de barras Refatorado
This horizontal bar chart displays the population estimates for the top ten countries in 2020, with country names on the y-axis and population values on the x-axis. Built with React and rendered as SVG, the chart uses D3 v5 functions like `scaleBand` for the discrete y-axis and `scaleLinear` for the continuous x-axis. The component extracts reusable `AxisBottom`, `AxisLeft`, and `Marks` modules, loading data from a CSV file via `d3.csv`.
AI-generated descriptionGrafico de barras e eixos e marcações refatorado.