Skip to main content
100%

Fork of Fork of Hello VizHub

✓ Published0🌍 Public
SShane Gibney
Last edited Jun 22, 2021
Created on Jun 22, 2021

This example demonstrates a minimal D3.js visualization that displays a centered text message. It loads D3 version 5 from a CDN via UNPKG and uses the `select` function to target the HTML element with the ID `message`, setting its text content to “Hello VizHub!”. The code also imports a local ES6 module from `myMessage.js` and applies styling through an external CSS file, centering the text with 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