Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars1🌍 Public
Ppuru001
Last edited Apr 26, 2022
Created on Apr 26, 2022
Forked from Cars Report

This example displays a single car entry from a small dataset, formatting it as a text string with the year, make, model, and price. It demonstrates importing data from a local ES6 module (`cars.js`) and using JavaScript destructuring within the `formatCar` function. The page renders the message into the `#message-element` DOM node, showing how VizHub supports modular code and data sharing without relying on D3 for basic output.

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.

Comments

Sign in to join the discussion.

MIT Licensed