# Visualizer not visualizing

**URL:** <https://community.postman.com/t/visualizer-not-visualizing/36023>\
**Category:** Help Hub\
**Tags:** visualizer\
**Created:** [June 7, 2022, 9:10pm UTC](https://community.postman.com/t/visualizer-not-visualizing/36023 "2022-06-07T21:10:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dxlmx](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@dxlmx](https://community.postman.com/u/dxlmx)\
**Post date:** [June 7, 2022, 9:10pm UTC](https://community.postman.com/t/visualizer-not-visualizing/36023/1 "2022-06-07T21:10:14Z")

</div>

**My question:**  
My visualizer is not showing data as intended, I compared it to the brewery example and think I see the issue but not sure how to fix it.

**Details:**  
In this screenshot you can see side by side the pm.visualizer code. And Json results  
#1 is my test, it look like the Jason is an object that has a data level.  
#2 is the Postman brewery example.

 ![visualizer](https://us1.discourse-cdn.com/getpostman/original/2X/b/bc4bcbc033c56cba49336db785ea14b83f3fc430.jpeg)

**I’ve already tried** :  
Dot notations for the variable. Didn’t work and wasn’t surprised Not a js expert so not sure on how best to grab the data.

---

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [June 7, 2022, 9:25pm UTC](https://community.postman.com/t/visualizer-not-visualizing/36023/2 "2022-06-07T21:25:31Z")

</div>

Hi @dxlmx

try `.data` on your ‘each’ statement, like this;

```auto
var template = `
    <style type="text/css">
        body: {background-color:#e0ffff;}
        h3: {color:#ffff00;}
    </style>
    
    <body>
    <h3>Tweets</h3>
        {{#each response.data}} //<----- here
            
            <h5>{{id}}</h5>
            <p>{{text}}</p>

        {{/each}}
    </table>
`;

pm.visualizer.set(template, {
    response: pm.response.json()
});

```

Example output;

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/4/4da400452d81a37f3d6eae259dfb01d0f610e43b.png)

---

<div class="post-metadata">

**Author:** ![dxlmx](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@dxlmx](https://community.postman.com/u/dxlmx)\
**Post date:** [June 7, 2022, 9:48pm UTC](https://community.postman.com/t/visualizer-not-visualizing/36023/3 "2022-06-07T21:48:31Z")

</div>

Thank you very much that worked!
