Activity6
✓ Published0🌍 Public
This interactive bubble chart visualizes the correlation between manufacturing cost, selling price, and profit percentage for various car makes, using data from a CSV file. The chart displays circles positioned by selling price on the x-axis and make cost on the y-axis, with bubble size scaled to profit percentage and color encoding brand identity. Built with D3 v7, it uses `d3.scaleLinear` for axes and bubble size, `d3.scaleOrdinal` for color mapping, and `d3.interpolateTurbo` for the color scheme. The visualization includes a legend and animated tooltips that appear on mouseover.
AI-generated descriptionAn illustration of VizHub's capabilities is as follows: D3 is loaded using UNPKG.
- Exhibits how to use `import} from {"d3"}.
- Use of `import} from local ES6 modules is demonstrated.
MIT Licensed