Skip to main content
100%

Fork of Hello

✓ Published0🌍 Public
Bbyiringirodalio
Last edited Mar 30, 2021
Created on Mar 30, 2021
Forked from Hello VizHub

This example displays a single car model from a small dataset of vehicles, showing the text "accord" centered on the page with large font styling. It imports car data from a local ES6 module (`cars.js`) that parses a JSON string using `JSON.parse`, then accesses the second entry to extract the model field. The code demonstrates module imports, DOM manipulation via `getElementById`, and CSS styling for the message element.

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