Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Eesrauysall
Last edited Jul 19, 2021
Created on Jul 19, 2021
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup that displays the text “Hello VizHub!” in the center of the page. It shows how to load D3 v5 from a CDN and use local ES6 modules to organize code. The `select` function from D3 is used to target the `#message` div and set its text content, while a custom `message` value is imported from `myMessage.js`. The page uses a CSS file to style the message with a large, centered font size. This serves as a template for integrating D3 with modular JavaScript.

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