Skip to main content
100%

Cars report

✓ Published0🌍 Public
SSandorKrisztian21
Last edited Jun 5, 2021
Created on Jun 5, 2021
Forked from Hello VizHub

This example demonstrates a minimal D3-based data report, displaying the make of the first car from a small embedded JSON dataset defined in a local ES6 module. The visualization reads the data from the `cars` array exported by `cars.js` and uses JavaScript’s standard `JSON.parse` to structure the information. It relies on D3’s import mechanism via UNPKG and renders the result as plain text into a `<pre>` element using the browser’s `textContent` API, avoiding any charting or interactive components.

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