Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
Vveagy
Last edited Sep 4, 2018
Created on Sep 4, 2018
Forked from Making a Bar Chart

This bar chart displays the top 10 countries by total merchandise exports in 2017, based on World Trade Organization data. It uses D3 v5’s `scaleLinear` and `scaleBand` to map export values and country names, with SVG rectangles representing each value. Axes are added via `axisLeft` and `axisBottom`, and the data is loaded from a CSV using `csv()`. The chart highlights China with the largest export total, exceeding two trillion dollars, while the United Kingdom ranks last among the listed countries.

AI-generated description

This bar chart shows the Top 10 total merchandise export worldwise. The data comes from the year 2017 in World Trade Organization: Total Merchandise Export 2017.

MIT Licensed

Similar vizzes