Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
MMichaelBGonzalez
Last edited Dec 13, 2021
Created on Dec 13, 2021
Forked from Hello VizHub

This example demonstrates a simple SVG card with a title label and a greeting message, styled with a drop shadow. It shows how to import D3.js from a CDN via `https://unpkg.com/d3@5.16.0/dist/d3.min.js` and use the `select` API from the `d3` module to set text content. The code also imports a local ES6 module (`./myMessage`) to supply the string `'Hello VizHub!'`, and uses an external `styles.css` for text formatting.

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