Skip to main content
Public

Share visualization

Loading preview…

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

Bar chart

3
Jjammigumpula.priyanka193@gmail.com
Last edited Mar 21, 2024
Created on Mar 16, 2024

This bar chart shows the top 15 coffee-exporting countries, with Brazil leading in exported metric tons. Horizontal bars encode export volume for each country, with country names on the y-axis and exported coffee amounts on the x-axis. The visualization loads data from a CSV file using D3 v7, sorts and filters the data to the top 15 entries, and renders the chart as SVG using `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` for the axes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed