Skip to main content
100%

nibud

✓ Published0🌍 Public
MManoukK
Last edited Jan 22, 2020
Created on Jan 6, 2020
Forked from Making a Bar Chart

This visualization presents the monthly budget categories from Nibud, showing whether each category results in a positive or negative value. The bars extend left or right from a central zero axis, with positive values in orange and negative values in blue. Using D3 v5 with SVG rendering, the code implements `scaleLinear`, `scaleBand`, `axisLeft`, and custom tick positioning to place negative category labels on the opposite side. Data is loaded from a CSV file and sorted by value using `ascending`.

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.

MIT Licensed

Similar vizzes