Skip to main content
100%

Activity-6

✓ Published2🌍 Public
Vvrushikarao03@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This example demonstrates how to combine D3.js with ES6 modules in a simple web page. It imports the `select` function from D3 and a custom message from a local module, then sets the text of a div element to display "Hello VizHub!" using D3's selection API. The page loads D3 v5 from UNPKG via a script tag and also includes a local stylesheet. The example serves as a minimal template for D3-based projects that use modern JavaScript module syntax.

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