Skip to main content
Public

Share visualization

Loading preview…

Laura

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

Laura

0
LLauranJade
Last edited Nov 13, 2022
Created on Sep 19, 2022
Forked from barGraph

This example presents a population bar chart for countries around the world, using the 2022 Population data from the included CSV file. The visualization uses a qualitative scale on the x-axis for country names and a linear scale on the y-axis for population counts, rendering bars as SVG rectangles. Built with D3 v5, it uses `scaleBand` and `scaleLinear` for scales, and `axisLeft` and `axisBottom` for the chart's axes. The chart's tooltip, which displays country and population details on mouseover, is implemented with D3's `select` function and a styled HTML div.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed