🌍 Public
Viewing a saved revision (read-only)
e6c8a32abf7e4be5abea29192da6019a
Making a Bar Chart
This bar chart displays the top 10 countries by total merchandise exports in 2017, using data from the World Trade Organization. The chart visualizes export values in billions of dollars, with countries ordered by their export magnitude. Built with D3 v5, the visualization uses `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft`/`axisBottom` for tick marks. The data is loaded from a CSV file via `csv()`, rendered as SVG rectangles, and styled with a steelblue fill.
AI-generated descriptionThis 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.