Skip to main content
100%

Fork of Hello VizHub

✓ Published1🌍 Public
Nnikhilkashid3593
Last edited Nov 9, 2021
Created on Nov 9, 2021
Forked from Hello VizHub

This simple example demonstrates how to set up a D3.js visualization using external libraries and local ES6 modules. It displays the text "Hello VizHub!" centered on the page. The code imports the `select` function from D3 v5.16.0 and a custom `message` string from a local module, then uses d3’s `select('#message').text(message)` to assign the text to a div element. CSS styling controls the message’s appearance through the `#message` selector.

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