Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

nibud

Public visualization

Viewing a saved revision (read-only)

0e99d5eb4d8f4cc1887091b3abe61a22

nibud

0 stars0🌍 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.