Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
RRevanthGrreddy
Last edited Jun 25, 2022
Created on Jun 25, 2022
Forked from Hello VizHub

This example demonstrates how to set up a minimal VizHub project that loads D3.js from a CDN and uses ES6 modules to display a static text message. It shows a message div centered and styled with large font size, with content set through D3’s `select` and the `.text()` method. The code imports the `select` function from D3 v5 and a local string constant from `myMessage.js`, illustrating how to combine external library imports with local module imports in a browser-based visualization environment.

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