Skip to main content
100%

Assign-1 Question-1

✓ Published0🌍 Public
Ddaneeshchowdary18@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example demonstrates how a minimal VizHub project loads D3 from a CDN and uses local ES6 modules to compose a simple page. It shows D3’s `select` method updating a `<div>` with a text message from an imported local module, while a basic stylesheet centers the large type. The code also includes unused variables and a regex literal, illustrating that extra JavaScript can coexist without affecting output. The example serves as a bare-bones template for combining external libraries, modular code, and CSS in a single-page setup.

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