test sort animation
✓ Published0🌍 Public
JJoey Cherdarchuk
Last edited Mar 6, 2024
Created on Feb 29, 2024
This dot plot visualization compares TV episodes within a selected season by their average ratings, highlighting episodes that meet or exceed the series average with highlighted dots. Users can switch between seasons and toggle between chronological or rating-based sorting, with Svelte's flip animation smoothly transitioning dots and labels to their new positions. The chart uses a linear rating scale (0–10 stars) with duplicated axes on top and bottom, a highlighted reference line at the series average, and interactive hover tooltips for detailed episode information.
AI-generated descriptionCompleted
- Converted bar chart to dot plot to lower "data-ink ratio"
- Made chart vertically responsive
- Duplicated x-axis on top as well
- Made x-axis componenet and imported it into App.svelte
- Changed opacity for circles and titles on hover
- Researched LayerCake
- Found library built on it: LayerChart
- Found code for tooltips. Adapted them
based on this script
- Made an attempt at simple tooltip on hover. Imported with Tooltip component
Questions
- Animations?
- Is how I absolutely positioned tooltips correct? It seemed a bit more excessive than examples I've seen before (e.g. needing margin)
MIT Licensed