Skip to main content
100%

Activity 7

✓ Published1🌍 Public
Ssaikrishnabussa
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This example demonstrates how to build a simple D3.js application that displays a custom message in the browser. It shows a single text element, "Hello VizHub!", centered on the page using CSS styling, and serves as a minimal template for setting up a VizHub project. The code loads D3 v5 from a CDN and uses the `select` API to target a div element by ID, setting its text content from a locally imported ES6 module. The example highlights basic module imports, DOM manipulation, and integration of external libraries.

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