Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

297a9855088f4c71a59e5a4916cb17ad

Fork of Hello VizHub

0 stars0🌍 Public
Ssd2beatles
Last edited Jul 6, 2021
Created on Jul 6, 2021
Forked from Hello VizHub

This example demonstrates a minimal setup for a web visualization using D3.js version 5. It imports the `select` function from the D3 library to target a specific HTML element and set its text content. The text itself comes from a local ES6 module, showcasing how to organize code into separate files for reusability. The visualization renders a simple centered message, "Hello VizHub!", styled with CSS. This serves as a template for understanding how to load D3 via a CDN and combine it 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.