Skip to main content
Public

Share visualization

Loading preview…

Making a Bar Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Making a Bar Chart

1
Vveagy
Last edited Sep 4, 2018
Created on Sep 4, 2018
Forked from Making a Bar Chart

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 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.

Comments

Sign in to join the discussion.

MIT Licensed