Skip to main content

Create Stunning Data Visualizations with AI-First Colab and Gemini

Google for DevelopersDecember 3, 20257 min6,249 views
22 connections·28 entities in this video→

Introduction to AI-First Colab

  • πŸ’‘ AI-First Colab is a Jupyter notebook hosted in Google's cloud, featuring an agentic collaborator powered by Gemini to accelerate problem-solving.
  • πŸš€ It runs in the browser with minimal setup, offers free access to computing resources like GPUs and TPUs, and allows notebooks to be shared via Google Drive.
  • 🧠 The AI companion understands your code and data state at each step, creating an iterative and collaborative workflow.

Generating an Interactive Weather Station Table

  • 🎯 The demo uses daily temperature readings from ~1500 US weather stations from a BigQuery public dataset.
  • πŸ“ A prompt is used to create a data table showing one row per station, which Gemini processes by loading, wrangling, and displaying the data.
  • πŸ“Š The resulting table is made interactive, allowing sorting by longitude/latitude and filtering by state, revealing that many stations are airports.

Creating a Time Series Temperature Plot

  • πŸ“ˆ To compare temperatures, a time series plot is generated for San Francisco, JFK (New York), and Dallas Fort Worth.
  • πŸ’» Instead of manual coding, Gemini is prompted to filter data and create the plot using the Elter plotting library.
  • πŸ” The interactive chart allows zooming and hovering, clearly showing Dallas as the hottest and New York as the coldest in winter.

Building an Animated US Temperature Heat Map

  • πŸ—ΊοΈ The geospatial nature of the data is leveraged to create an animated heat map of US temperatures.
  • ✨ Gemini is prompted to use Plotly for animation, with specific preferences for color scale and point size.
  • 🌟 The final visualization displays hundreds of thousands of data points, showing temperature evolution across the country day-by-day, which can be saved as an HTML file for sharing.

Benefits and Getting Started

  • βœ… AI-First Colab enables users to create interactive tables, plots, and animated maps within minutes, without writing code.
  • πŸ› οΈ It caters to all experience levels, helping to uplevel visualization skills.
  • ➑️ To start, open a Colab notebook, find the Gemini Spark icon, and begin prompting.
Knowledge graph28 entities Β· 22 connections

How they connect

An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.

Hover Β· drag to explore
28 entities
Chapters4 moments

Key Moments

Transcript28 segments

Full Transcript

Topics13 themes

What’s Discussed

AI-First ColabGeminiData VisualizationJupyter NotebookGoogle CloudBigQueryInteractive TablesTime Series PlotAnimated Heat MapPlotlyElterNatural Language ProcessingCoding Agent
Smart Objects28 Β· 22 links
ConceptsΒ· 8
ProductsΒ· 11
CompaniesΒ· 2
LocationsΒ· 6
MediaΒ· 1