Skip to main content
100%

MIAGE base

✓ Published0🌍 Public
BBerangerIcart
Last edited Sep 26, 2022
Created on Sep 19, 2022
Forked from MIAGE base

This example displays a bar chart of country populations for 2022, sourced from a CSV file. It uses D3 v5 to render the chart as an SVG, with a band scale for the x-axis and a linear scale for the y-axis. Mouseover interactions reveal a tooltip showing the country name and population. The code also imports a local ES6 module for a message, demonstrating VizHub’s capability to load D3 from UNPKG and use local modules.

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

Similar vizzes