nibud
✓ Published0🌍 Public
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 descriptionThis 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