Platform
Resources
Pricing
Sign in
Contact us
sw1227
Vis / Geo / Generative / Simulation / AI / Math 🥑 Portfolio: https://sw1227.github.io/portfolio
Workspace
Fork
Public
By
sw1227
Edited
Mar 17, 2023
Insert cell
Insert cell
ApexCharts
=
require
(
'apexcharts@3.7.1/dist/apexcharts.amd.js'
)
Insert cell
ApexCharts
.
default
Insert cell
DOM
.
element
(
'div'
,
{
id
:
'chart2'
}
)
Insert cell
chart
=
{
return
new
ApexCharts
.
default
(
document
.
getElementById
(
"chart"
)
,
options
)
}
Insert cell
options
=
(
{
series
:
[
{
name
:
"Series 1"
,
data
:
[
{
x
:
'W1'
,
y
:
22
}
,
{
x
:
'W2'
,
y
:
29
}
,
{
x
:
'W3'
,
y
:
13
}
,
{
x
:
'W4'
,
y
:
32
}
]
}
,
{
name
:
"Series 2"
,
data
:
[
{
x
:
'W1'
,
y
:
43
}
,
{
x
:
'W2'
,
y
:
43
}
,
{
x
:
'W3'
,
y
:
43
}
,
{
x
:
'W4'
,
y
:
43
}
]
}
]
}
)
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
ApexCharts
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
chart
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
options
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML