🔗 Unlisted
Viewing a saved revision (read-only)
e198cd61af0549e68aa1039abc92ac14
Zahlungsbereitschaft
This visualization presents the results of a survey on willingness to pay for Spotify, showing the distribution of 203 participants across six price categories via a bar chart. The bars are color-coded by price range, and hovering over a bar reveals a tooltip with the exact count and percentage. The chart also includes value labels on each bar, a legend, and statistical summaries such as the average willingness to pay. The code uses D3.js v7 for chart rendering with `scaleBand` and `scaleLinear` for axes, while React manages the tooltip state and container dimensions via `useContainerDimensions`.
AI-generated description