Skip to main content
Public

Share visualization

Loading preview…

Percentages of four different Products imported in each country

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

Percentages of four different Products imported in each country

0
NNHRK555
Last edited Jul 3, 2022
Created on Jul 2, 2022

This visualization displays the percentages of four different products imported by each country, with data points representing individual countries. The scatter plot dynamically cycles through different product dimensions on the x-axis every 1.7 seconds using `setInterval`. The visualization uses D3 v6 with SVG rendering, employing `scaleLinear`, `axisLeft`, `axisBottom`, and `scatterPlot()` from a reusable chart module. Data is loaded from a remote CSV file, with US data points highlighted in yellow and other countries in red, alongside a custom legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed