{
  "generated": "2026-12-04",
  "data_as_of": {
    "description": "The Gold layer as it was for the published images: plays up to 2026-04-10 16:05 UTC (cutoff: played_at_utc < 2026-04-10T16:07:00Z) and the Spotify catalogue data the lakehouse held at that time. Today's lakehouse uses different definitions (see 'play').",
    "timezone": "UTC for every hour, weekday, day and month",
    "first_play_day": "2017-12-06",
    "last_play_day": "2026-04-10"
  },
  "play": "One row of Gold fact_plays: every stream in the Spotify export and the recently-played API, whatever its duration (including plays under 30 seconds). Since the lakehouse redesign of 2026-11-09 a 'play' is 30 seconds or more, so today's dashboard shows lower counts.",
  "hours": "Sum of ms_played / 3,600,000. For plays from the recently-played API (2026 only) ms_played is the track's full length.",
  "mood_quadrants": {
    "axes": "Spotify audio features energy (x) and valence (y), 0–1, from the community catalogue dumps; plays of tracks without both have no quadrant",
    "threshold": 0.5,
    "rule": "energy > 0.5 and valence > 0.5 → Euphoric; energy > 0.5 and valence ≤ 0.5 → Intense; energy ≤ 0.5 and valence > 0.5 → Chill; energy ≤ 0.5 and valence ≤ 0.5 → Melancholic",
    "quadrants": [
      {
        "name": "Euphoric",
        "energy": "> 0.5",
        "valence": "> 0.5"
      },
      {
        "name": "Intense",
        "energy": "> 0.5",
        "valence": "≤ 0.5"
      },
      {
        "name": "Melancholic",
        "energy": "≤ 0.5",
        "valence": "≤ 0.5"
      },
      {
        "name": "Chill",
        "energy": "≤ 0.5",
        "valence": "> 0.5"
      }
    ],
    "artist_quadrant": "Chart 6 places an artist by the mean energy and valence of their plays that have features; the same rule then names its quadrant."
  },
  "bpm_bands": [
    {
      "name": "Ballad",
      "min_bpm": 60,
      "max_bpm": 90
    },
    {
      "name": "Pop",
      "min_bpm": 90,
      "max_bpm": 120
    },
    {
      "name": "EDM",
      "min_bpm": 120,
      "max_bpm": 140
    },
    {
      "name": "D&B",
      "min_bpm": 140,
      "max_bpm": 180
    }
  ],
  "bpm_bands_note": "Loose genre–tempo associations drawn as shaded bands (white, alpha 0.06) with the label at 92% of the y axis. Bounds touch: a value on a boundary belongs to both in the drawing.",
  "skip": "A play is skipped when Spotify's extended export flags it 'skipped' = true. skip_rate = skipped plays / all plays; plays with no flag (the API ones and some older export rows) count as not skipped in the numerator and as plays in the denominator.",
  "completion": {
    "completion_pct": "ms_played / the track's length, for extended-export plays of tracks whose length the lakehouse knew. Above 1 happens (length differences between versions).",
    "buckets": [
      {
        "name": "<25%",
        "min": null,
        "max": 0.25
      },
      {
        "name": "25-50%",
        "min": 0.25,
        "max": 0.5
      },
      {
        "name": "50-80%",
        "min": 0.5,
        "max": 0.8
      },
      {
        "name": ">80%",
        "min": 0.8,
        "max": null
      }
    ],
    "bucket_rule": "lower bound inclusive, upper exclusive",
    "completed": "No chart uses a 'completed' flag. The histogram's red dashed line marks 100% (completion_pct = 1.0); the yellow dotted line marks 30%. The '>80%' bucket is the closest the charts come to 'completed'. (Gold also has is_complete = ms_played ≥ 30 s, Spotify's stream threshold; unused here.)"
  },
  "genre_assignment": "Each play's artist name is matched to Spotify artists by name; the artist's primary genre is the first entry of Spotify's genre list for that artist (catalogue dumps). A genre's plays are the sum of its artists' plays. Artists without a Spotify genre are left out. The notebook merges 'moroccan rap' into 'rap'. Last.fm tags are not used in these charts.",
  "known_issues": [
    {
      "issue": "Duplicate artist names",
      "detail": "The April pipeline joined artists to plays by name. Two Spotify artists are named Lino, two Yelawolf and two Lorenzo, so each of their plays is counted twice: 1,329 + 1,201 + 764 = 3,294 extra plays out of 236,343. Kept as published, so every file matches its image; correcting it means subtracting those plays."
    }
  ],
  "colours": {
    "theme": {
      "accent": "#1DB954",
      "figure_background": "#121212",
      "axes_background": "#181818",
      "text": "#ffffff",
      "secondary_text": "#b3b3b3",
      "gridlines_and_spines": "#333333"
    },
    "mood": {
      "chart_7_mood_quadrants": {
        "Euphoric": "#1DB954",
        "Chill": "#00bcd4",
        "Intense": "#e8175d",
        "Melancholic": "#b3b3b3"
      },
      "chart_8_mood_evolution": {
        "Euphoric": "#1DB954",
        "Chill": "#00bcd4",
        "Intense": "#e8175d",
        "Melancholic": "#535353"
      },
      "chart_8_stack_order_bottom_to_top": [
        "Euphoric",
        "Chill",
        "Intense",
        "Melancholic"
      ]
    },
    "chart_1": {
      "plays": "#1DB954 (area alpha 0.4)",
      "hours": "#1ed760 (area alpha 0.4)",
      "unique_artists": "#535353 bars"
    },
    "chart_2": "matplotlib 'Greens', one scale per year (0 to that year's max)",
    "chart_3": {
      "hour_bars": "matplotlib 'YlGn' by plays / max",
      "weekday_bars": {
        "Mon–Fri": "#535353",
        "Sat–Sun": "#1DB954"
      },
      "heatmap": "'Greens'"
    },
    "chart_4": "'YlGn' normalised 0 to max",
    "chart_5": {
      "plays_bars": "'RdYlGn_r' by skip_rate, scale 0 to the top-20 max",
      "hours_bars": "#1DB954 alpha 0.85"
    },
    "chart_6": "'Viridis' by avg_danceability (plotly)",
    "chart_9": "'Greens' filled contours; quadrant lines grey dashed at 0.5",
    "chart_10": {
      "points": "#1DB954 alpha 0.35",
      "trend": "#e8175d"
    },
    "chart_11": "'plasma' from 0.2 (rank 1) to 0.9 (rank 25)",
    "chart_12": {
      "new_artists_bars": "#535353 alpha 0.7",
      "cumulative_line": "#1DB954"
    },
    "chart_13": {
      "histogram": "#1DB954",
      "line_100": "#e8175d",
      "line_30": "#ffd700",
      "buckets": {
        "<25%": "#e8175d",
        "25-50%": "#ff6437",
        "50-80%": "#ffd700",
        ">80%": "#1DB954"
      }
    },
    "chart_14": "'magma' from 0.2 (oldest decade) to 0.85 (newest)",
    "chart_15": {
      "histogram": "#1DB954 alpha 0.6",
      "kde": "#e8175d",
      "median_line": "#ffd700",
      "bands": "white alpha 0.06"
    },
    "chart_16": {
      "intended": {
        "Explicit": "#e8175d",
        "Clean": "#1DB954"
      },
      "as_published": {
        "Clean": "#e8175d",
        "Explicit": "#1DB954"
      }
    },
    "chart_17": "'YlOrRd', one scale over the whole grid",
    "chart_18": {
      "avg_energy": "#e8175d",
      "avg_valence": "#1DB954",
      "reference_line_0_5": "grey dashed"
    }
  }
}
