# Observable

**URL:** <https://talk.observablehq.com/t/observable/2329>\
**Category:** Help\
**Created:** [August 29, 2019, 2:52pm UTC](https://talk.observablehq.com/t/observable/2329 "2019-08-29T14:52:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChiqueCode](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/chiquecode/32/2722_2.png) [@ChiqueCode](https://talk.observablehq.com/u/ChiqueCode)\
**Post date:** [August 29, 2019, 2:52pm UTC](https://talk.observablehq.com/t/observable/2329/1 "2019-08-29T14:52:48Z")

</div>

> **[Observable](https://observablehq.com/d/a43840ac1251caac)**
>
> The magic notebook for visualization.

Hello! I am new to Observable and following Shirly Wu tutorials from FrontEndMasters.  
I have the following error (pls see the link to notebook), and not quite sure why as my code looks exactly the same as from the tutorials. I have imported the same libraries as well. I would really appreciate some help.

---

<div class="post-metadata">

**Author:** ![aaronkyle](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/aaronkyle/32/8106_2.png) [@aaronkyle](https://talk.observablehq.com/u/aaronkyle)\
**Post date:** [August 29, 2019, 2:54pm UTC](https://talk.observablehq.com/t/observable/2329/2 "2019-08-29T14:54:47Z")

</div>

Welcome! Would you mind clicking “Enable link sharing” in the menu on the upper right so that we can see your notebook?

Here’s a notebook that covers how to do this:

> **[Fork, Share, Merge](https://observablehq.com/@observablehq/fork-share-merge)**
>
> Update: Observable now supports suggestions, providing a full lifecycle for forking a notebook, adding some code changes and comments about what you’re changing, sending it to the author with an email notification, and discussing the changes in...

**Edit** @bgchen was more welcoming, but he withdrew his post, so I’ll borrow his words. 😉

---

<div class="post-metadata">

**Author:** ![ChiqueCode](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/chiquecode/32/2722_2.png) [@ChiqueCode](https://talk.observablehq.com/u/ChiqueCode)\
**Post date:** [August 29, 2019, 3:11pm UTC](https://talk.observablehq.com/t/observable/2329/4 "2019-08-29T15:11:49Z")

</div>

Sorry about that. I just made it public.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/tom/32/2262_2.png) [@tom](https://talk.observablehq.com/u/tom)\
**Post date:** [August 29, 2019, 3:15pm UTC](https://talk.observablehq.com/t/observable/2329/5 "2019-08-29T15:15:46Z")

</div>

Hi there,

I filed a suggestion for that notebook: [https://observablehq.com/compare/a43840ac1251caac@30...5ca83610bb456ecf@33](https://observablehq.com/compare/a43840ac1251caac@30...5ca83610bb456ecf@33)

What it looks like is that the notebook code is designed to work with a slightly different bit of data - the line `d.Genre.split(', ')[0]` implies that `d.Genre` is a string that you’ll split on commas and take the first item from – but the JSON file you have here already has `d.Genre` as an array, so `.split()` isn’t defined and hence the error. Pretty much the same thing with the imdbRating field - the code assumes that it’s a string that needs to be parsed into a number, but in the data you’re using, it’s already parsed into a number. Maybe this data is from a later step in the tutorial?
