# Add customdata to plotly data points in R?

**URL:** https://community.plotly.com/t/add-customdata-to-plotly-data-points-in-r/5558
**Category:** Plotly R
**Created:** [August 28, 2017, 9:51am UTC](https://community.plotly.com/t/add-customdata-to-plotly-data-points-in-r/5558 "2017-08-28T09:51:27Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Qaiser](https://avatars.discourse-cdn.com/v4/letter/q/f4b2a3/32.png) [@Qaiser](https://community.plotly.com/u/Qaiser)
#### Post date: [August 28, 2017, 9:51am UTC](https://community.plotly.com/t/add-customdata-to-plotly-data-points-in-r/5558/1 "2017-08-28T09:51:27Z")

</div>

I am working in R 3d scatter. plotly so now i want to add custom extra data to datapoints .In plotly js there is customdata references for this requirement but i want to add in plotly R not plotly js.

---

<div class="post-metadata">

### Author: ![random](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/random/32/7047_2.png) [@random](https://community.plotly.com/u/random)
#### Post date: [June 17, 2019, 6:08pm UTC](https://community.plotly.com/t/add-customdata-to-plotly-data-points-in-r/5558/2 "2019-06-17T18:08:40Z")

</div>

Several years later, this points towards the direction of a solution: [Showing extra data in a heatmap with hovertemplate and customdata](https://community.plotly.com/t/showing-extra-data-in-a-heatmap-with-hovertemplate-and-customdata/24629)
