Skip to main content
100%

Fork of Activity6_Task1

✓ Published0🌍 Public
Ttejaswiteju9811@gmail.com
Last edited Oct 18, 2024
Created on Oct 18, 2024
Forked from Activity6_Task1

This example demonstrates how a minimal web page can load D3.js from a CDN and use ES6 modules to compose a simple message display. It shows the basic structure of a VizHub project, including an HTML file that links external styles and scripts, and a JavaScript file that imports the `select` function from D3 and a local `message` constant. The code uses D3’s `select` method to set the text content of a `<div>` element, with styling applied via CSS. The example serves as a template for combining D3 with modular JavaScript imports.

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