Skip to main content
100%

test

✓ Published0🌍 Public
Aarounde
Last edited May 8, 2022
Created on May 8, 2022
Forked from Hello VizHub

This example demonstrates how to load D3.js via UNPKG and use ES6 module imports in a VizHub project. The page renders a single red circle on an SVG canvas with a fixed viewBox of 600 by 600 pixels, while a separate D3 selection updates the text content of a message div using the `select` function. The code also imports a local string from `myMessage.js` to display "Hello VizHub!" in large centered text via CSS. It highlights module-based code organization and basic SVG drawing without interactivity.

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