Skip to main content
100%

Fork of Hello VizHub

✓ Published1🌍 Public
Mminecci
Last edited Jul 14, 2021
Created on Jul 14, 2021
Forked from Hello VizHub

This example demonstrates a minimal setup for a D3.js visualization using ES6 modules. It displays the text "Hello VizHub!" centered in the browser via D3’s `select` function, which sets the content of a div. The code imports `select` from the D3 library and a custom `message` string from a local module, showing both CDN-loaded D3 and local module imports. Styling is handled through CSS, with the text rendered at a large font size.

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