Introduction to data wrangling and analysis in JavaScript — Session 2 follow-along notebook | Darya Yarparvar | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Darya Yarparvar
@dyarparvar
I’m a graphic designer and data visualiser. Colours, patterns, and data get my pulse racing!
Comments (2)
Darya Yarparvar
Apr 22, 2023
important _ how to copy the whole properties of an obj and add new properties to it.
Reply
Darya Yarparvar
Apr 22, 2023
important _ how to copy the whole properties of an obj and add new properties to it. use flatMap instead of map to get rid of that extra array at the exterior level wrapping everything unnecessarily.
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
0
Follow
Follow
Introduction to data wrangling and analysis in JavaScript — Session 2 follow-along notebook | Darya Yarparvar | Observable