Platform
Solutions
Resources
Pricing
Sign in
Sign up
Charles Redmond
Workspace
Fork
Published
Fall21 DS B 1
By
Charles Redmond
Edited
Dec 3, 2021
Fork of
Arquero Template
1 star
2
Fall21 DS B 1
Plotting Template
Arquero Template
Cheerio Template
Observable Basics
Markdown
HTML
TeX
Arrays
Objects
Vega Data Sets
Plotting Method One (Part A)
Plotting Method One (Part Two)
Plotting Method Two (Part A)
Plotting Method Two (Part B)
Plotting Method Three
Plotting the Cars Data Set
Plotting the Cars Data Set (Another Method)
Baseball Example
Second Baseball Example
Horizontal Lines
Mapping Revisited
Horizontal Lines (a better way)
Horizontal Lines (Real Example)
Lines
Lines (Real-World Example)
Selecting, Filtering, and Ordering
Grouping
Arquero Practice
More Arquero Practice
Joining Tables
Joining Tables Part Two
Joining Three Tables
Additional Techniques
College Baseball Example
Blocks of Code
For Loops
If Statements
HTML Parsing
HTML Tables
Ohio Cities
Generating an HTML Table
Sorting and Functions
Ohio Cities Application
Sea Otters
The Presidents
Field Hockey
Regular Show Episodes
Olympics
Massachusetts Colleges
h3 text file
x and y text files
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.
Insert cell
Insert cell
X
=
result
.
sh
Insert cell
Y
=
result
.
pts
Insert cell
label
=
result
.
name
Insert cell
Insert cell
Insert cell
Insert cell
plotInfo
=
(
{
x
:
{
domain
:
[
0
,
30
]
}
,
y
:
{
domain
:
[
0
,
10
]
}
,
marks
:
[
Plot
.
ruleX
(
[
0
]
)
,
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
line
(
[
[
0
,
slope
*
0
+
intercept
]
,
[
30
,
slope
*
30
+
intercept
]
]
,
{
stroke
:
"red"
}
)
,
Plot
.
dot
(
X
,
{
x
:
X
,
y
:
Y
,
fill
:
"black"
,
r
:
5
,
title
:
(
d
,
i
)
=>
label
[
i
]
}
)
]
}
)
Insert cell
Insert cell
Insert cell
One platform
to build and deploy the best data apps
Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Try it for free
Learn more
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
slope
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
intercept
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Yhat
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
differences
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
squares
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
mse
Edit
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
resultTable
Edit
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
hockey
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
result
Edit
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
X
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Y
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
label
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
plotInfo
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
cheerio
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
page
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML