Skip to main content
100%

Civic Impact through Data Visualization: Exercise 1

✓ Published0🌍 Public
NNathan-O
Last edited Nov 15, 2015
Created on Nov 15, 2015

A bubble chart of San Francisco AirBnB listings shows price per available night against the number of reviews, with each circle’s color encoding room type (entire home, private, or shared). The graphic uses D3.js (version 3.5.8) with `d3.csv`, `d3.scale.linear`, `d3.svg.axis`, and SVG circles, rendering data from Inside AirBnB’s public dataset. The visualization is part of a workshop on civic data impact, emphasizing simple exploratory analysis before mapping.

AI-generated description

Join the chat at https://gitter.im/Jay-Oh-eN/data-scientists-guide-apache-spark

These are the materials for my workshop on creating interactive data visualizations with D3! We will be using the following two tools to works through these exercises:

And please do not hesitate to reach out to me directly via email at jondinu@gmail.com or over twitter @clearspandex

Throughout this workshop, you will learn how to make an interactive map of AirBnB listings in SF to better understand the companies impact on the city.

Exercises

  • Part 1 (you are here 👇): simple bubble chart visualizing 3 dimensions of the data.
    • solution
  • Part 2: thematic map of AirBnB listings distribution across SF neighborhoods.
    • solution
  • Final: interactive linked map and line plot of AirBnB activity per each neighborhood in SF.

The Data

The data comes from Inside AirBnB and it is available below under a Creative Commons CC0 1.0 Universal (CC0 1.0) "Public Domain Dedication" license.

Inside AirBnB is an independent, non-commercial set of tools and data that allows you to explore how Airbnb is really being used in cities around the world.


Github repo: https://github.com/Jay-Oh-eN/interactive-data-viz

Archival event link: Open Data Science Conference SF 2015

forked from <a href='http://bl.ocks.org/Jay-Oh-eN/'>Jay-Oh-eN</a>'s block: <a href='http://bl.ocks.org/Jay-Oh-eN/15f52d2ec0b035b53c6f'>Civic Impact through Data Visualization: Exercise 1</a>

Similar vizzes