Skip to main content
100%

Hello VizHub

✓ Published0🌍 Public
Jjamal.bacha@gmail.com
Last edited Mar 14, 2021
Created on Dec 19, 2020
Forked from Hello VizHub

This example displays a horizontal bar chart of financial data for major companies, including market capitalization values from the `rtData` array. The chart uses D3 v6 scales (`d3.scaleLinear`) and color interpolation to map values from orange to red. It demonstrates ES6 module imports, local module usage with `myMessage.js`, and DOM manipulation via `d3.create` and `svg.selectAll().join()`. The visualization also includes axis generation with `d3.axisBottom` and text labels showing company names.

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