How to Solve NameError: name 'us_crime' is not defined -- hvplot

Solution: Import the 'us_crime' module

# Add the following line to the top of your code
from hvplot.sample_data import us_crime

 

For more information:
hvplot us_crime