Platform
Resources
Pricing
Sign in
Get started
Alok Pepakayala
Data visualization/Interactive media and full-stack data science web app developer.
Workspace
Fork
Public
By
Alok Pepakayala
Edited
May 25, 2024
1
Insert cell
Insert cell
Inputs
.
table
(
srt_json
)
Insert cell
srt_json
=
{
var
parser
=
new
srtParser2
(
)
;
var
srt
=
await
FileAttachment
(
"The.office.us.S01E01.SAVANNAH.English-WWW.MY-SUBS.CO.srt"
)
.
text
(
)
;
return
parser
.
fromSrt
(
srt
)
;
}
Insert cell
srtParser2
=
import
(
"https://cdn.skypack.dev/srt-parser-2@1.2.3?min"
)
.
then
(
(
d
)
=>
d
.
default
)
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
srt_json
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
srtParser2
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML