# I was wondering how I can change the color of each boxplot in boxchart

**URL:** <https://community.plotly.com/t/i-was-wondering-how-i-can-change-the-color-of-each-boxplot-in-boxchart/61342>\
**Category:** plotly.js\
**Tags:** question\
**Created:** [February 23, 2022, 7:55am UTC](https://community.plotly.com/t/i-was-wondering-how-i-can-change-the-color-of-each-boxplot-in-boxchart/61342 "2022-02-23T07:55:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seung12](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Seung12](https://community.plotly.com/u/Seung12)\
**Post date:** [February 23, 2022, 7:55am UTC](https://community.plotly.com/t/i-was-wondering-how-i-can-change-the-color-of-each-boxplot-in-boxchart/61342/1 "2022-02-23T07:55:05Z")

</div>

![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/7/6/76f444f7e86e565e6e0246fd28ae3ce458fd9e29.png)

I want to change the graph above to

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/3/8/38c888b6e1f6eff6caab88960dd8c563735b30b9.png)

The data was iris.csv. My code fan is this.

Code Pen Url: [https://codepen.io/datajang/pen/bGYKoBM](https://codepen.io/datajang/pen/bGYKoBM)

What should I do???
