websites/blogdown/content/courses/example/visualization.md

date: "2021-01-01" highlight: true title: Visualization type: book weight: 30

Learn how to visualize data with Plotly.

{{< icon name="clock" pack="fas" >}} 1-2 hours per week, for 8 weeks

Learn

{{< youtube hSPmj7mK6ng >}}

Quiz

{{< spoiler text="When is a heatmap useful?" >}} Lorem ipsum dolor sit amet, consectetur adipiscing elit. {{< /spoiler >}}

{{< spoiler text="Write Plotly code to render a bar chart" >}}

import plotly.express as px
data_canada = px.data.gapminder().query("country == 'Canada'")
fig = px.bar(data_canada, x='year', y='pop')
fig.show()

{{< /spoiler >}}



CrumpLab/SemesterProject7709 documentation built on May 18, 2022, 9:34 p.m.