Platform
Resources
Pricing
Sign in
Get started
Kevin Hernández Rostrán
A child of God • Trust in «as for me and my family, we will serve the Lord» • Software Developer 💻 • Graphic Designer 😍 • Creative 👌 • Thankful
Workspace
Fork
Published
By
Kevin Hernández Rostrán
Edited
May 26, 2020
Insert cell
md
`# Tutorial 3: Visualizing data`
Insert cell
alphabet
=
require
(
'@observablehq/alphabet'
)
Insert cell
vegalite
=
require
(
'@observablehq/vega-lite'
)
Insert cell
vegalite
(
{
data
:
{
values
:
alphabet
}
,
mark
:
"bar"
,
autosize
:
"fit"
,
width
:
width
,
encoding
:
{
x
:
{
field
:
"letter"
,
type
:
"ordinal"
}
,
y
:
{
field
:
"frequency"
}
}
}
)
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
alphabet
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
vegalite
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML