Platform
Solutions
Resources
Pricing
Sign in
Sign up
Jonas Almeida
data scientist (personal page)
Workspace
Fork
Published
By
Jonas Almeida
Edited
Nov 27, 2019
Insert cell
Insert cell
Insert cell
d3
=
require
(
'https://cdnjs.cloudflare.com/ajax/libs/d3/5.12.0/d3.min.js'
)
Insert cell
Insert cell
{
var
div
=
DOM
.
element
(
'div'
)
d3
;
c3
;
c3
.
generate
(
{
bindto
:
div
,
data
:
{
columns
:
[
[
'data1'
,
30
,
200
,
100
,
400
,
150
,
250
]
,
[
'data2'
,
50
,
20
,
10
,
40
,
15
,
25
]
]
}
}
)
return
div
}
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
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
c3
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
range
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