Skip to main content
100%

(fork) 1

✓ Published0🌍 Public
Wweird_danger
Last edited Oct 24, 2024
Created on Oct 15, 2024

This interactive streamgraph visualizes quarterly median sale prices for houses and units with varying bedroom counts, sourced from the data.csv file. Users can reorder the legend categories through drag-and-drop, which triggers a redrawing of the stacked time-series chart via the `render` function. The visualization uses D3.js v6 for creating the SVG, scaling axes, and rendering the tooltip, while Sortable.js handles the reordering. The y-axis is fixed between -4,000,000 and 4,000,000 to accommodate the stacked values.

AI-generated description

The Penguins Dataset, loaded and parsed as CSV.

Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:

  • Fork this viz
  • Clear out the README
  • Update the README with details about your dataset (including original source)
  • Replace data.csv with your own data
  • Replace the parsing logic in index.js with your own
  • Set the custom URL so you can import from it easily

Challenge

  • Find 3 datasets on a topic you are interested in
  • For each of those, fork this viz and replace the data
  • Parse the quantitative attributes into numbers
  • Update README.md to indicate the original data source
MIT Licensed

Similar vizzes