Skip to main content
100%

Graph MIAGE base

✓ Published0🌍 Public
JJShellBach
Last edited Sep 19, 2022
Created on Sep 19, 2022
Forked from Fork of MIAGE base

This example displays a scatter plot of global population data for 2022, filtering by country and rendering the points within an SVG canvas. It uses D3.js v5 to load the data, which is imported from a local CSV file. For each country, a circle is appended to the SVG group, and its position is based on the population value. The code demonstrates how to combine D3's data loading with custom layout logic, while also showing the use of a separate ES6 module to display a static message.

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