Fork of Task -8(part-2)
✓ Published0🌍 Public
A stacked horizontal bar chart visualizes ice cream flavor ratings across five Likert-scale categories from strongly dislike to strongly like. The D3 v7 code composes the data from a CSV with d3.stack, maps flavor names to the y-axis with d3.scaleBand, and positions bar segments with a linear percentage scale. Hovering over individual segments triggers d3.select and tooltip interactions to reveal precise percentages, while custom axis labels and Google Fonts styling frame the chart.
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