Platform
Resources
Pricing
Sign in
Get started
xaquingv
Workspace
Fork
Public
Master Data Science: Information Visualization
By
xaquingv
Edited
Dec 16, 2022
16 forks
1 star
Master Data Science: Information Visualization
Final exercise: Template
Week 2: Basics of Plot
Exercise 1: COVID waves
A solution to Exercise 1: COVID waves
Exercise 2: Color your charts!
A solution to Exercise 2: Color your charts!
Insert cell
Insert cell
Insert cell
Insert cell
Plot
.
plot
(
{
marks
:
[
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
line
(
infections
,
{
x
:
"parsedDate"
,
y
:
"new_cases_smoothed"
,
z
:
"id"
}
)
]
}
)
Insert cell
Insert cell
Plot
.
plot
(
{
height
:
640
,
x
:
{
type
:
"log"
}
,
marks
:
[
Plot
.
dot
(
vaccinated
,
{
y
:
"people_fully_vaccinated_per_hundred"
,
x
:
"gdp_per_capita"
,
r
:
"population"
}
)
]
}
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vaccinated
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
_vaccinated
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML