{
  "title": "Data behind the charts of 'Visualizing Insights from My Spotify Data Lakehouse'",
  "article": "https://abdessettar.xyz/projects/spotify-gold-eda/",
  "generated": "2026-12-04",
  "source": "Gold layer of the Spotify lakehouse as of the published run (2026-04-10 ~16:07 UTC), rebuilt from the pre-redesign Gold snapshot with the April pipeline's code. Totals: 236,343 plays from 2017-12-06 to 2026-04-10.",
  "privacy": "Aggregates only: no play-level rows or timestamps (finest grain: one day, or hour of day / weekday without a date); no IP, country, platform, device, user agent, username, offline or incognito fields.",
  "definitions": "definitions.json",
  "files": [
    {
      "article_chart": 1,
      "notebook_chart": 1,
      "title": "Monthly Listening Timeline",
      "file": "01-monthly-timeline.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-1-monthly-listening-timeline.webp",
      "rows": 101,
      "bytes": 6913,
      "columns": [
        {
          "name": "month",
          "type": "string (YYYY-MM)",
          "unit": null,
          "meaning": "Calendar month of the play, UTC"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        },
        {
          "name": "hours",
          "type": "number",
          "unit": "hours",
          "meaning": "Sum of time played (ms_played) / 3,600,000"
        },
        {
          "name": "unique_artists",
          "type": "integer",
          "unit": "artists",
          "meaning": "Distinct artist names played that month"
        }
      ],
      "source_tables": [
        "gold/agg_monthly"
      ],
      "filters": "none; every month with at least one play",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      }
    },
    {
      "article_chart": 2,
      "notebook_chart": 2,
      "title": "Daily Play Calendar Heatmap (last 5 years)",
      "file": "02-daily-calendar.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-2-daily-play-calendar-heatmap-last-5-years.webp",
      "rows": 1561,
      "bytes": 51747,
      "columns": [
        {
          "name": "date",
          "type": "string (YYYY-MM-DD)",
          "unit": null,
          "meaning": "Calendar day, UTC"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        }
      ],
      "source_tables": [
        "gold/agg_daily"
      ],
      "filters": "calendar years 2022–2026 (the image's five panels); days without plays added with plays = 0",
      "date_range": {
        "from": "2022-01-01",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "The image lays each year out by ISO week number with pandas pivot_table (mean): 1–3 January can share a column with late December and be averaged with it, and a week with no plays at all gets no column (the later weeks shift left: 2026 shows 14 columns for 15 weeks). The data here is plain per-day; a calendar component will be slightly more correct than the image.",
        "The last day, 2026-04-10, is partial (plays until 16:05 UTC)."
      ]
    },
    {
      "article_chart": 3,
      "notebook_chart": 3,
      "title": "Time Patterns Triptych",
      "file": "03-time-patterns.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-3-time-patterns-triptych.webp",
      "rows": 199,
      "bytes": 16363,
      "columns": [
        {
          "name": "panel",
          "type": "string",
          "unit": null,
          "meaning": "hour_of_day (left bars), day_of_week (middle bars) or hour_x_weekday (right heatmap)"
        },
        {
          "name": "hour",
          "type": "integer|null",
          "unit": "hour (0–23, UTC)",
          "meaning": "Hour of day, UTC; null in the day_of_week panel"
        },
        {
          "name": "weekday",
          "type": "integer|null",
          "unit": null,
          "meaning": "ISO weekday, 1 = Monday … 7 = Sunday; null in the hour_of_day panel"
        },
        {
          "name": "weekday_name",
          "type": "string|null",
          "unit": null,
          "meaning": "Mon … Sun"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "none",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "Hours are UTC, as labelled in the image (Brussels is UTC+1 in winter, UTC+2 in summer)."
      ]
    },
    {
      "article_chart": 4,
      "notebook_chart": 4,
      "title": "Polar Listening Clock",
      "file": "04-listening-clock.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-4-polar-listening-clock.webp",
      "rows": 24,
      "bytes": 604,
      "columns": [
        {
          "name": "hour",
          "type": "integer",
          "unit": "hour (0–23, UTC)",
          "meaning": "Hour of day, UTC; one bar per hour (15° each, bar width 14°)"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "none",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      }
    },
    {
      "article_chart": 5,
      "notebook_chart": 5,
      "title": "Top 20 Artists by Plays & Hours",
      "file": "05-top-artists.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-5-top-20-artists-by-plays-hours.webp",
      "rows": 18,
      "bytes": 1754,
      "columns": [
        {
          "name": "rank",
          "type": "integer",
          "unit": null,
          "meaning": "Bar position, 1 = top"
        },
        {
          "name": "artist",
          "type": "string",
          "unit": null,
          "meaning": "Artist name"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        },
        {
          "name": "hours",
          "type": "number",
          "unit": "hours",
          "meaning": "Time played / 3,600,000 (right panel)"
        },
        {
          "name": "skip_rate",
          "type": "number (0–1)",
          "unit": "share of plays",
          "meaning": "skip_count / plays (left panel colour)"
        },
        {
          "name": "skip_count",
          "type": "integer",
          "unit": "plays",
          "meaning": "Plays flagged skipped"
        }
      ],
      "source_tables": [
        "gold/agg_artist_stats"
      ],
      "filters": "first 20 rows by plays",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "The notebook takes the first 20 rows of agg_artist_stats, but Lino and Yelawolf each appear twice there (two Spotify artists share each name; the April pipeline joined artists by name). The image draws same-name rows on one bar, so it has 18 bars; this file has those 18. Their plays are also double-counted (Lino 2,658 shown for 1,329 real plays; Yelawolf 2,402 for 1,201): see definitions.known_issues."
      ],
      "extra": {
        "notebook_rows": 20,
        "bars": 18,
        "duplicated_rows": [
          "Lino",
          "Yelawolf"
        ]
      }
    },
    {
      "article_chart": 6,
      "notebook_chart": 7,
      "title": "Artist Mood Map (bubble chart)",
      "file": "06-artist-mood-map.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-7-artist-mood-map-interactive-bubble-chart.webp",
      "rows": 57,
      "bytes": 7691,
      "columns": [
        {
          "name": "rank",
          "type": "integer",
          "unit": null,
          "meaning": "Position by plays"
        },
        {
          "name": "artist",
          "type": "string",
          "unit": null,
          "meaning": "Artist name"
        },
        {
          "name": "avg_energy",
          "type": "number (0–1)",
          "unit": null,
          "meaning": "Mean energy over the artist's plays that have audio features (x)"
        },
        {
          "name": "avg_valence",
          "type": "number (0–1)",
          "unit": null,
          "meaning": "Mean valence, same plays (y)"
        },
        {
          "name": "avg_danceability",
          "type": "number (0–1)",
          "unit": null,
          "meaning": "Mean danceability, same plays (colour, Viridis)"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "All plays of the artist, with or without features (bubble size, size_max 50)"
        },
        {
          "name": "quadrant",
          "type": "string",
          "unit": null,
          "meaning": "Quadrant of (avg_energy, avg_valence) by definitions.mood_quadrants; not drawn in the image, given for filtering"
        }
      ],
      "source_tables": [
        "gold/agg_artist_stats"
      ],
      "filters": "artists with avg_energy and avg_valence; first 60 rows by plays",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "Same duplicate rows as chart 5: the notebook's 60 rows contain two pairs of identical bubbles; this file lists each bubble once."
      ],
      "extra": {
        "notebook_rows": 60,
        "bubbles": 57,
        "duplicated_rows": [
          "Lino",
          "Lorenzo",
          "Yelawolf"
        ]
      }
    },
    {
      "article_chart": 7,
      "notebook_chart": 8,
      "title": "Mood Quadrant Distribution",
      "file": "07-mood-quadrants.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-8-mood-quadrant-distribution.webp",
      "rows": 4,
      "bytes": 216,
      "columns": [
        {
          "name": "quadrant",
          "type": "string",
          "unit": null,
          "meaning": "Mood quadrant: Euphoric, Intense, Melancholic or Chill (definitions.mood_quadrants)"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        },
        {
          "name": "share",
          "type": "number (0–1)",
          "unit": null,
          "meaning": "plays / plays with audio features (donut labels, 1 decimal)"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "plays with a mood quadrant (track has energy and valence)",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      }
    },
    {
      "article_chart": 8,
      "notebook_chart": 9,
      "title": "Mood Evolution Over Time",
      "file": "08-mood-evolution.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-9-mood-evolution-over-time-stacked-area.webp",
      "rows": 404,
      "bytes": 21417,
      "columns": [
        {
          "name": "month",
          "type": "string (YYYY-MM)",
          "unit": null,
          "meaning": "Calendar month of the play, UTC"
        },
        {
          "name": "quadrant",
          "type": "string",
          "unit": null,
          "meaning": "Mood quadrant: Euphoric, Intense, Melancholic or Chill (definitions.mood_quadrants)"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "plays with a mood quadrant; months without any such play are absent (the image's x axis skips them too)",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      }
    },
    {
      "article_chart": 9,
      "notebook_chart": 11,
      "title": "Energy vs Valence 2D Kernel Density (binned plays)",
      "file": "09-energy-valence-density.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-11-energy-vs-valence-2d-kernel-density.webp",
      "rows": 1600,
      "bytes": 79737,
      "columns": [
        {
          "name": "energy_bin",
          "type": "number",
          "unit": null,
          "meaning": "Lower energy edge of the bin; the bin is [energy_bin, energy_bin + 0.025), the last one includes 1.0"
        },
        {
          "name": "valence_bin",
          "type": "number",
          "unit": null,
          "meaning": "Lower valence edge of the bin, same width"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Plays whose track's (energy, valence) falls in the bin"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "plays with energy and valence; 40 × 40 bins of width 0.025 over [0, 1] × [0, 1], all 1,600 bins listed",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "The image is a seaborn KDE of the individual plays; exporting those points would be play-level, so this file has 40 × 40 binned counts and 09-energy-valence-kde has the density itself, which reproduces the contours exactly. Contour levels: see 'extra'."
      ],
      "bin_edges": {
        "energy": [
          0.0,
          0.025,
          0.05,
          0.075,
          0.1,
          0.125,
          0.15,
          0.175,
          0.2,
          0.225,
          0.25,
          0.275,
          0.3,
          0.325,
          0.35,
          0.375,
          0.4,
          0.425,
          0.45,
          0.475,
          0.5,
          0.525,
          0.55,
          0.575,
          0.6,
          0.625,
          0.65,
          0.675,
          0.7,
          0.725,
          0.75,
          0.775,
          0.8,
          0.825,
          0.85,
          0.875,
          0.9,
          0.925,
          0.95,
          0.975,
          1.0
        ],
        "valence": "same as energy",
        "bin_width": 0.025
      }
    },
    {
      "article_chart": 9,
      "notebook_chart": 11,
      "title": "Energy vs Valence 2D Kernel Density (the density the image draws)",
      "file": "09-energy-valence-kde.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-11-energy-vs-valence-2d-kernel-density.webp",
      "rows": 2500,
      "bytes": 136329,
      "columns": [
        {
          "name": "energy",
          "type": "number",
          "unit": null,
          "meaning": "Grid x"
        },
        {
          "name": "valence",
          "type": "number",
          "unit": null,
          "meaning": "Grid y"
        },
        {
          "name": "density",
          "type": "number",
          "unit": "probability density",
          "meaning": "Gaussian KDE of the plays (Scott bandwidth), as seaborn.kdeplot computes it"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "same plays as 09-energy-valence-density; 50 × 50 points of seaborn's 200 × 200 grid",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "extra": {
        "plays_with_features": 38506,
        "kde_bandwidth": "scott",
        "kde_grid": "200×200 (exported every 4th point: 50×50)",
        "kde_extent": {
          "energy": [
            -0.12182859828795137,
            1.1194385982879513
          ],
          "valence": [
            -0.13103238938771278,
            1.1040323893877129
          ]
        },
        "contour_levels_density": [
          0.08357,
          0.60769,
          0.96886,
          1.23879,
          1.49047,
          1.73329,
          2.02942,
          2.37142,
          2.65763,
          2.96267,
          3.49265,
          4.86966
        ]
      }
    },
    {
      "article_chart": 10,
      "notebook_chart": 14,
      "title": "Skip Rate vs Audio Features",
      "file": "10-skip-vs-features.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-14-skip-rate-vs-audio-features-scatter-trend.webp",
      "rows": 556,
      "bytes": 93096,
      "columns": [
        {
          "name": "track_id",
          "type": "string",
          "unit": null,
          "meaning": "Spotify track id (spotify:track:<id>)"
        },
        {
          "name": "track",
          "type": "string",
          "unit": null,
          "meaning": "Track name"
        },
        {
          "name": "artist",
          "type": "string",
          "unit": null,
          "meaning": "Artist name"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        },
        {
          "name": "skip_rate",
          "type": "number (0–1)",
          "unit": "share of plays",
          "meaning": "Plays flagged skipped / plays (y)"
        },
        {
          "name": "energy",
          "type": "number|null",
          "unit": null,
          "meaning": "Track energy (x, panel 1)"
        },
        {
          "name": "valence",
          "type": "number|null",
          "unit": null,
          "meaning": "Track valence (x, panel 2)"
        },
        {
          "name": "danceability",
          "type": "number|null",
          "unit": null,
          "meaning": "Track danceability (x, panel 3)"
        }
      ],
      "source_tables": [
        "gold/agg_track_stats"
      ],
      "filters": "tracks with ≥ 10 plays and a skip rate; tracks with no audio feature at all are left out (they appear in no panel)",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "The notebook asks for four features but agg_track_stats has no acousticness, so the image has three panels (energy, valence, danceability)."
      ],
      "extra": {
        "trend_lines": {
          "energy": {
            "slope": 0.135619,
            "intercept": 0.09925,
            "x_min": 0.00238,
            "x_max": 0.975,
            "n_tracks": 556
          },
          "valence": {
            "slope": 0.062184,
            "intercept": 0.153058,
            "x_min": 0.0224,
            "x_max": 0.973,
            "n_tracks": 556
          },
          "danceability": {
            "slope": 0.162555,
            "intercept": 0.07928,
            "x_min": 0.061,
            "x_max": 0.979,
            "n_tracks": 556
          }
        },
        "tracks_ge10_plays_total": 4418
      }
    },
    {
      "article_chart": 11,
      "notebook_chart": 15,
      "title": "Top 25 Genres by Play Count",
      "file": "11-top-genres.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-15-top-25-genres-by-play-count.webp",
      "rows": 25,
      "bytes": 1126,
      "columns": [
        {
          "name": "rank",
          "type": "integer",
          "unit": null,
          "meaning": "1 = most played"
        },
        {
          "name": "genre",
          "type": "string",
          "unit": null,
          "meaning": "Spotify genre (definitions.genre_assignment)"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        }
      ],
      "source_tables": [
        "gold/agg_artist_stats",
        "gold/dim_artists"
      ],
      "filters": "artists with a primary genre; 25 genres with most plays",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "Plays of the double-counted artists (definitions.known_issues) are double-counted here too: zouk includes Lino 2,658, country hip hop Yelawolf 2,402, amapiano Lorenzo 1,528."
      ]
    },
    {
      "article_chart": 12,
      "notebook_chart": 17,
      "title": "Artist Discovery Timeline",
      "file": "12-artist-discovery.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-17-artist-discovery-timeline.webp",
      "rows": 101,
      "bytes": 6342,
      "columns": [
        {
          "name": "month",
          "type": "string (YYYY-MM)",
          "unit": null,
          "meaning": "Calendar month of the play, UTC"
        },
        {
          "name": "new_artists",
          "type": "integer",
          "unit": "artists",
          "meaning": "Artist names played for the first time that month (bars)"
        },
        {
          "name": "cumulative_artists",
          "type": "integer",
          "unit": "artists",
          "meaning": "Running total of new_artists (line)"
        }
      ],
      "source_tables": [
        "gold/agg_monthly"
      ],
      "filters": "none",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      }
    },
    {
      "article_chart": 13,
      "notebook_chart": 18,
      "title": "Track Completion Distribution",
      "file": "13-track-completion.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-18-track-completion-distribution.webp",
      "rows": 54,
      "bytes": 5502,
      "columns": [
        {
          "name": "panel",
          "type": "string",
          "unit": null,
          "meaning": "histogram (left) or buckets (right donut)"
        },
        {
          "name": "bin",
          "type": "string",
          "unit": null,
          "meaning": "Bin label"
        },
        {
          "name": "bin_start",
          "type": "number|null",
          "unit": "share of track length",
          "meaning": "Lower edge (inclusive)"
        },
        {
          "name": "bin_end",
          "type": "number|null",
          "unit": "share of track length",
          "meaning": "Upper edge (exclusive; the last histogram bin includes 1.2)"
        },
        {
          "name": "count",
          "type": "integer",
          "unit": "plays",
          "meaning": "Plays in the bin"
        },
        {
          "name": "share",
          "type": "number|null",
          "unit": null,
          "meaning": "Buckets only: count / all bucketed plays (donut labels)"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "plays with completion_pct (extended-export plays of tracks with a known length). Histogram: completion ≤ 1.5, then clipped to [0, 1.2], 50 equal bins between the min and max; buckets: all values",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "Request said 'both panels': the left is the histogram, the right the bucket donut; both are here, distinguished by 'panel'."
      ],
      "extra": {
        "histogram_plays": 41444,
        "bucket_plays": 42122,
        "dropped_from_histogram_over_1_5": 678
      }
    },
    {
      "article_chart": 14,
      "notebook_chart": 20,
      "title": "Plays by Release Decade",
      "file": "14-release-decade.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-20-plays-by-release-decade.webp",
      "rows": 9,
      "bytes": 395,
      "columns": [
        {
          "name": "decade",
          "type": "integer",
          "unit": "year",
          "meaning": "release_year // 10 × 10 (0 = an album dated year 0000 in Spotify's data)"
        },
        {
          "name": "label",
          "type": "string",
          "unit": null,
          "meaning": "Bar label as in the image"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Number of plays (rows of fact_plays: every stream, any duration; see definitions.play)"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "plays whose album has a release year",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      }
    },
    {
      "article_chart": 15,
      "notebook_chart": 22,
      "title": "Tempo Distribution with BPM Genre Bands (histogram)",
      "file": "15-tempo-distribution.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-22-tempo-distribution-with-bpm-genre-bands.webp",
      "rows": 60,
      "bytes": 4103,
      "columns": [
        {
          "name": "bin_start",
          "type": "number",
          "unit": "BPM",
          "meaning": "Lower edge"
        },
        {
          "name": "bin_end",
          "type": "number",
          "unit": "BPM",
          "meaning": "Upper edge"
        },
        {
          "name": "tracks",
          "type": "integer",
          "unit": "tracks",
          "meaning": "Tracks of the catalogue in the bin (not plays)"
        },
        {
          "name": "density",
          "type": "number",
          "unit": "1/BPM",
          "meaning": "tracks / (all tracks × bin width): the bar height in the image"
        }
      ],
      "source_tables": [
        "gold/dim_tracks"
      ],
      "filters": "tracks with a tempo; 60 equal bins between the min and max tempo",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "catalogue tracks the lakehouse held on 2026-04-10"
      },
      "notes": [
        "The request suggested 2 BPM bins of plays; the image is 60 bins of catalogue tracks (density-normalised), so the file follows the image. The BPM bands are in definitions.json."
      ],
      "extra": {
        "tracks": 1447,
        "median_bpm": 113.13,
        "kde_bandwidth_bpm": 7.098
      }
    },
    {
      "article_chart": 15,
      "notebook_chart": 22,
      "title": "Tempo Distribution with BPM Genre Bands (KDE curve)",
      "file": "15-tempo-kde.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-22-tempo-distribution-with-bpm-genre-bands.webp",
      "rows": 200,
      "bytes": 6980,
      "columns": [
        {
          "name": "bpm",
          "type": "number",
          "unit": "BPM",
          "meaning": "Grid point"
        },
        {
          "name": "density",
          "type": "number",
          "unit": "1/BPM",
          "meaning": "Gaussian KDE (Scott bandwidth), seaborn's 200-point grid"
        }
      ],
      "source_tables": [
        "gold/dim_tracks"
      ],
      "filters": "same tracks as 15-tempo-distribution",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "catalogue tracks the lakehouse held on 2026-04-10"
      },
      "extra": {
        "tracks": 1447,
        "median_bpm": 113.13,
        "kde_bandwidth_bpm": 7.098
      }
    },
    {
      "article_chart": 16,
      "notebook_chart": 23,
      "title": "Explicit vs Clean Tracks",
      "file": "16-explicit-clean.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-23-explicit-vs-clean-tracks.webp",
      "rows": 2,
      "bytes": 105,
      "columns": [
        {
          "name": "category",
          "type": "string",
          "unit": null,
          "meaning": "Explicit or Clean (Spotify's explicit flag)"
        },
        {
          "name": "tracks",
          "type": "integer",
          "unit": "tracks",
          "meaning": "Tracks of the catalogue (not plays)"
        },
        {
          "name": "share",
          "type": "number (0–1)",
          "unit": null,
          "meaning": "tracks / all tracks"
        }
      ],
      "source_tables": [
        "gold/dim_tracks"
      ],
      "filters": "all tracks in dim_tracks",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "catalogue tracks the lakehouse held on 2026-04-10"
      },
      "notes": [
        "Counts tracks of the catalogue, not plays. Colours in the image are assigned by row order, not by category: Clean is drawn pink (#e8175d) and Explicit green (#1DB954), the reverse of the code's intent; see definitions.colours."
      ]
    },
    {
      "article_chart": 17,
      "notebook_chart": 24,
      "title": "Mood × Hour Heatmap",
      "file": "17-mood-hour.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-24-mood-hour-heatmap.webp",
      "rows": 96,
      "bytes": 4320,
      "columns": [
        {
          "name": "quadrant",
          "type": "string",
          "unit": null,
          "meaning": "Mood quadrant: Euphoric, Intense, Melancholic or Chill (definitions.mood_quadrants)"
        },
        {
          "name": "hour",
          "type": "integer",
          "unit": "hour (0–23, UTC)",
          "meaning": "Hour of day, UTC"
        },
        {
          "name": "plays",
          "type": "integer",
          "unit": "plays",
          "meaning": "Plays in that quadrant and hour (cell colour, YlOrRd, one scale for the whole grid)"
        }
      ],
      "source_tables": [
        "gold/fact_plays"
      ],
      "filters": "plays with a mood quadrant; rows ordered Euphoric, Chill, Intense, Melancholic as in the image",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      },
      "notes": [
        "The colour shows raw plays (not a share within the hour)."
      ]
    },
    {
      "article_chart": 18,
      "notebook_chart": 27,
      "title": "Monthly Avg Energy & Valence Trend",
      "file": "18-energy-valence-trend.json",
      "published_image": "https://bear-images.sfo2.cdn.digitaloceanspaces.com/abdessettar/chart-27-monthly-avg-energy-valence-trend.webp",
      "rows": 101,
      "bytes": 6137,
      "columns": [
        {
          "name": "month",
          "type": "string (YYYY-MM)",
          "unit": null,
          "meaning": "Calendar month of the play, UTC"
        },
        {
          "name": "avg_energy",
          "type": "number|null",
          "unit": null,
          "meaning": "Mean energy of that month's plays with audio features"
        },
        {
          "name": "avg_valence",
          "type": "number|null",
          "unit": null,
          "meaning": "Mean valence, same plays"
        }
      ],
      "source_tables": [
        "gold/agg_monthly"
      ],
      "filters": "none; no smoothing; null when no play that month has audio features",
      "date_range": {
        "from": "2017-12-06",
        "to": "2026-04-10",
        "note": "plays before 2026-04-10T16:07Z"
      }
    }
  ],
  "total_bytes_json_files": 490487
}
