Skip to main content
100%

Teste de Bar char

✓ Published1🌍 Public
JJefferson Abreu
Last edited Jul 12, 2019
Created on Jul 10, 2019
Forked from Hello VizHub

This example displays a horizontal bar chart comparing the populations of ten countries, using a bar for each nation. The chart renders as an SVG using D3 v5, with a linear scale for the population axis and a band scale for the categorical country labels. The code employs D3's `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` APIs to construct the visualization. Data is loaded from a CSV file, with population values multiplied by 1000, and the resulting bars are drawn as SVG rectangles.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes