Hello VizHub
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed