Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Rrkhan22
Last edited Apr 8, 2022
Created on Apr 8, 2022
Forked from Hello VizHub

This example demonstrates how to build a minimal visualization with D3.js, displaying the text “Hello VizHub!” in the center of a webpage. It shows the fundamental workflow of a VizHub project, including importing D3 functions and local ES6 modules. The code uses `import { select } from 'd3'` to target the message div and set its text content, while an external stylesheet controls font size and alignment. The page loads D3 from UNPKG via script tag and outputs the final result through `bundle.js`, making it a complete but basic starting template.

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