Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
MMgk1255
Last edited Jun 24, 2022
Created on Jun 24, 2022
Forked from Hello VizHub

This example demonstrates a minimal D3.js visualization that renders a centered message on a web page. It shows how to load D3 from a CDN, use ES6 module imports, and combine local JavaScript modules with the library. The code uses `d3.select` to target the `#message` div and sets its text content to the string exported from a separate local module. The example also includes basic CSS styling to control font size and text alignment, highlighting the integration of multiple file types in a single VizHub project.

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