Interactive visualization with mapview

The mapview R package allows R users to interactively map spatial datasets in one line of R code. This makes it an essential tool for exploratory spatial data analysis in R. In this exercise, you'll learn how to quickly map tidycensus data interactively using mapview and your Orange County, California median housing values dataset.

This exercise is part of the course

Analyzing US Census Data in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Map the orange_value dataset interactively
m <- mapview(___)
m@map