Platform
Resources
Pricing
Sign in
Get started
Simmuskhan
Workspace
Fork
Published unlisted
By
Simmuskhan
Edited
Mar 15, 2022
ISC
Fork of
Part 3: Looking More Deeply at the Data
1 star
1
Insert cell
Insert cell
Insert cell
data
=
FileAttachment
(
"texasHourTempEnergy.csv"
)
.
csv
(
{
typed
:
true
}
)
Insert cell
Insert cell
viewof
selectTimes
=
Inputs
.
select
(
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
]
,
{
multiple
:
true
,
label
:
"Select times (control-click for multiple selections)"
}
)
Insert cell
// Type code here
Plot
.
plot
(
{
marks
:
[
Plot
.
dot
(
data
,
{
x
:
"temp"
,
y
:
"demand"
,
fill
:
"lightgrey"
,
fillOpacity
:
0.2
,
r
:
2
}
)
,
Plot
.
dot
(
data
,
{
filter
:
(
d
)
=>
d
.
hour
==
selectTimes
,
x
:
"temp"
,
y
:
"demand"
,
fill
:
"hour"
,
fillOpacity
:
0.8
,
r
:
3
}
)
]
,
marginLeft
:
60
}
)
Insert cell
Insert cell
Insert cell
Insert cell
import
{
Q
,
A
,
styles
}
with
{
renderSnippetOverride
as
renderSnippet
}
from
"@observablehq/plot-exploration-penguins"
Insert cell
styles
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
Compare fork
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
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
selectTimes
Add comment
Copy import
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
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
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML