Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Activity6_Task2

0 stars1๐ŸŒ Public
Bbhavanasruthikakarlapudi@gmail.com
Last edited Apr 2, 2025
Created on Apr 2, 2025

This horizontal stacked bar chart displays the percentage distribution of fruit prices across five ranges, from below 1.0 to above 4.0. Each bar is divided into color-coded segments representing price ranges, with white percentage labels shown for wider segments. The visualization uses D3.js v7 with a stacked bar layout, employing d3.stack and d3.stackOffsetExpand to normalize all bars to full width. The chart includes axes with percentage formatting, a legend for price ranges, and tooltips showing exact segment percentages.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed