StealThis .dev

Music — Artist Dashboard (streams · listeners · revenue)

A dark, for-artists analytics dashboard for the fictional act Neon Tides, built in plain HTML, CSS, and vanilla JS. Animated count-up KPI cards track total streams, monthly listeners, followers, and estimated revenue with trend deltas and sparklines. A smooth SVG area chart of streams over time toggles across 7d, 28d, and 12mo ranges with a hover tooltip, while a sortable top-tracks table, top-locations bar meters, and a milestones feed round it out, all backed by a simulated now-playing preview bar with a keyboard-accessible scrubber.

Lab에서 열기
html css vanilla-js
Targets: JS HTML

Code

Artist Dashboard (streams · listeners · revenue)

A for-artists analytics console for the fictional synth-pop act Neon Tides, rendered entirely on the dark music palette with no images — every cover and chart is drawn in CSS or SVG. Four KPI stat cards lead with total streams, monthly listeners, followers, and estimated revenue, each animating a count-up on load, carrying an up/down trend delta in the accent or warning color, and topping out with a tiny grown-in sparkline. A sticky sidebar holds the equalizer-logo brand, section nav, and a new-release pitch card.

The centerpiece is a smooth streams over time area chart built from inline SVG: two stacked series (streams and listeners) drawn as Catmull-style bézier curves with gradient fills, a faint baseline grid, and animated line-draw. A segmented 7d / 28d / 12mo toggle re-seeds and re-renders the data, and moving the pointer snaps a cursor dot to the nearest point and shows a floating tooltip. Beside it sits a milestones / recent-activity feed.

Below, a top-tracks table is fully sortable — click any header to sort by streams, listeners, saves, revenue, or title, with the caret and aria-sort flipping direction. Clicking a row opens a simulated now-playing preview bar: a morphing play/pause button, a role="slider" scrubber you can drag, click, or drive with arrow / Home / End keys, live duration timestamps, and a mini-equalizer marking the active track in the table. A top-locations list animates bar meters by listener share, and a toast() helper confirms exports and pitches. Motion respects prefers-reduced-motion and the grid reflows cleanly to a single column down to ~360px.

Illustrative UI only — fictional artists, albums, tracks, and data. No real audio playback.