Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
AadbSalam
Last edited Feb 15, 2022
Created on Feb 14, 2022
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, showing how to load D3 v5 from a CDN and import specific functions like `select` from the `d3` module, along with a local ES6 module exporting a `message` string. The rendered output is a full-screen SVG element with a red background, styled via an external CSS file and an inline script that applies the selection. The code illustrates basic SVG rendering and module imports without any data binding or interactive behavior.

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