Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

FP: Bar Chart

Public visualization

Viewing a saved revision (read-only)

60b2a4548bbf4313bd28662e2ab8e3a2

FP: Bar Chart

0 stars0🌍 Public
JJingxuan Yang
Last edited Mar 27, 2024
Created on Mar 27, 2024

This bar chart visualizes house sale prices across different regions, with each bar colored by region using an ordinal color scale. The interactive color legend allows users to hover over a region to highlight matching bars and fade the rest, implemented with D3.js enter/update/exit selections and hover state management. The chart is built from house sales data (houseRocket.csv) and uses a clean, minimal design with bars representing price values. Hovering over the legend highlights corresponding bars in the chart while dimming others, and hovering over bars emphasizes their legend entry. The visualization uses a sans-serif font, square color swatches, and a pointer cursor for interactive elements, with smooth opacity transitions for the hover effects.

AI-generated description