Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Vveagy
Last edited Sep 5, 2018
Created on Sep 5, 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 with SVG rendering, employing `scaleLinear` for the value axis and `scaleBand` for categorical country labels. The code loads data via `csv`, appends axes with `axisLeft` and `axisBottom`, and draws green rectangles sized by export values. The chart highlights relative export magnitudes, with China leading, followed by the United States and Germany.

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