Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

7b17c9a384334eaa844dc7d75b54eeb0

Fork of Making a Bar Chart

0 stars0🌍 Public
Kkaline
Last edited Sep 1, 2023
Created on Aug 13, 2023
Forked from Making a Bar Chart

This bar chart displays Brazilian public budget expenditures, comparing committed (“Empenhados”) and paid (“Pagos”) values by year. Users can filter the data by fiscal category (“Resultado Primário”) and government function (“Função”) via dropdown menus. The visualization uses D3 v5 with `d3.csv` for data loading, `d3.nest()` for aggregation, and `scaleLinear` and `scaleBand` for axes. Bars are rendered as SVG rectangles, with tooltips on hover and axis labels customized using `axisBottom` and `axisLeft`. Data originates from the provided `orcamentoData.csv` file.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.