Making a Bar Chart
✓ Published1🌍 Public
This bar chart displays the top 10 total merchandise exports worldwide for 2017, with countries ranked along the vertical axis and export values in dollars along the horizontal axis. The visualization uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft` and `axisBottom` for the axes. Data is loaded from a CSV file using `csv` and rendered as SVG rectangles. Values are converted from billions by multiplying by 1000 during preprocessing.
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.
MIT Licensed