plotly change background color based on value
Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. However, this level of power comes with added complexity. ; datestartswith is supported by datetime; is nil is supported by all data types type = "scatter", color = ~state, backround of a particular subplot. Shah Newaz Khan 49 Followers All the Textblock styling is stored in a ResourceDictionary which is stored in a different solution. Here's the list of things I usually do to improve Plotly graphs: #1: Remove gridlines and background color #2: Keep consistent colors across graphs #3: Use spikelines to compare data points #4: Remove floating menu, disable zoom and adjust click behavior #1: Remove gridlines and background color I have following data frame. But Background.Color did not help me. color = ~state, plot_ly( ) %>% On this website, I provide statistics tutorials as well as code in Python and R programming. How do I submit an offer to buy an expired domain? data = df, rev2023.1.18.43173. Connect and share knowledge within a single location that is structured and easy to search. I want to change the background color of the cell in row 1 to green if the cell value in row 3 in column 'a' equals 1. y = ~percollege, I want to change the background color of the cell in row 1 to green if the cell value in row 3 in column a equals 1. Not the answer you're looking for? You can read more about Kirby here! Deleting DataFrame row in Pandas based on column value, How to change markers shape manually in plotly interactive plot, scatter plot markers different colors based on value. You can also pass a vector of color names or hex codes to match specific colors to a given category. Why did it take so long for Europeans to adopt the moldboard plow? Well set colors = "PuOr" to specify a diverging color scale: df %>% I hate spam & you may opt out anytime: Privacy Policy. summarize(tot = sum(poptotal)) %>% i am getting this error. At the moment you cannot change the backround of a particular subplot. Is every feature of the universe logically necessary? font Parent: layout.legend Type: object containing one or more of the keys listed below. plot_bgcolor='rgb(245,245,240)'. How were Acorn Archimedes used outside education? However, this level of power comes with added complexity. The pre-built qualitative palettes and the maximum number of colors they can display: Lets create a scatterplot (or xy-plot) to look at the relationship between the rates of high school graduation and college education for each county. How do I change the size of figures drawn with Matplotlib? Forum; Pricing; Dash; Javascript (v2.17.1) Python (v5.12.0) R . If you want to change the background color of cell, you have to use x-grid3-cell-inner. How to change the order of DataFrame columns? The best colors to encode in your graphs depend on the type of data youre representing. x = ~state, I think the equivalent in matplot is face_color or something like this. line admits only one color, not a list. Can I change which outlet on a circuit has the GFCI reset switch? x = ~perchsd, px.scatter (continuous_color_scale="Viridis") or by reference e.g. How i can can associate these group values so that color of points appear differently in the plot. Find centralized, trusted content and collaborate around the technologies you use most. To learn more, see our tips on writing great answers. How do I select rows from a DataFrame based on column values? Asking for help, clarification, or responding to other answers. rev2023.1.18.43173. Can state or city police officers enforce the FCC regulations? ), {"x":{"visdat":{"879c553f6580":["function () ","plotlyVisDat"]},"cur_data":"879c553f6580","attrs":{"879c553f6580":{"x":{},"y":{},"color":{},"colors":"YlOrRd","alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"type":"bar"}},"layout":{"margin":{"b":40,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"title":"state","type":"category","categoryorder":"array","categoryarray":["IL","IN","MI","OH","WI"]},"yaxis":{"domain":[0,1],"automargin":true,"title":"tot"},"hovermode":"closest","showlegend":false,"legend":{"yanchor":"top","y":0.5}},"source":"A","config":{"showSendToCloud":false},"data":[{"x":["IL","IN","MI","OH","WI"],"y":[11430602,5544159,9295297,10847115,4891769],"type":"bar","marker":{"colorbar":{"title":"tot","ticklen":2},"cmin":4891769,"cmax":11430602,"colorscale":[["0","rgba(255,255,204,1)"],["0.0416666666666667","rgba(255,249,189,1)"],["0.0833333333333333","rgba(255,243,175,1)"],["0.125","rgba(255,237,160,1)"],["0.166666666666667","rgba(255,230,146,1)"],["0.208333333333333","rgba(255,224,132,1)"],["0.25","rgba(254,217,118,1)"],["0.291666666666667","rgba(255,204,104,1)"],["0.333333333333333","rgba(255,191,90,1)"],["0.375","rgba(254,178,76,1)"],["0.416666666666667","rgba(254,166,71,1)"],["0.458333333333333","rgba(254,154,65,1)"],["0.5","rgba(253,141,60,1)"],["0.541666666666667","rgba(253,122,54,1)"],["0.583333333333333","rgba(253,102,48,1)"],["0.625","rgba(252,78,42,1)"],["0.666666666666667","rgba(244,64,37,1)"],["0.708333333333333","rgba(235,48,33,1)"],["0.75","rgba(227,26,28,1)"],["0.791666666666667","rgba(214,18,32,1)"],["0.833333333333333","rgba(202,9,35,1)"],["0.875","rgba(189,0,38,1)"],["0.916666666666667","rgba(168,0,38,1)"],["0.958333333333333","rgba(148,0,38,1)"],["1","rgba(128,0,38,1)"]],"showscale":false,"color":[11430602,5544159,9295297,10847115,4891769],"line":{"colorbar":{"title":"","ticklen":2},"cmin":4891769,"cmax":11430602,"colorscale":[["0","rgba(255,255,204,1)"],["0.0416666666666667","rgba(255,249,189,1)"],["0.0833333333333333","rgba(255,243,175,1)"],["0.125","rgba(255,237,160,1)"],["0.166666666666667","rgba(255,230,146,1)"],["0.208333333333333","rgba(255,224,132,1)"],["0.25","rgba(254,217,118,1)"],["0.291666666666667","rgba(255,204,104,1)"],["0.333333333333333","rgba(255,191,90,1)"],["0.375","rgba(254,178,76,1)"],["0.416666666666667","rgba(254,166,71,1)"],["0.458333333333333","rgba(254,154,65,1)"],["0.5","rgba(253,141,60,1)"],["0.541666666666667","rgba(253,122,54,1)"],["0.583333333333333","rgba(253,102,48,1)"],["0.625","rgba(252,78,42,1)"],["0.666666666666667","rgba(244,64,37,1)"],["0.708333333333333","rgba(235,48,33,1)"],["0.75","rgba(227,26,28,1)"],["0.791666666666667","rgba(214,18,32,1)"],["0.833333333333333","rgba(202,9,35,1)"],["0.875","rgba(189,0,38,1)"],["0.916666666666667","rgba(168,0,38,1)"],["0.958333333333333","rgba(148,0,38,1)"],["1","rgba(128,0,38,1)"]],"showscale":false,"color":[11430602,5544159,9295297,10847115,4891769]}},"xaxis":"x","yaxis":"y","frame":null},{"x":["IL","WI"],"y":[4891769,11430602],"type":"scatter","mode":"markers","opacity":0,"hoverinfo":"none","showlegend":false,"marker":{"colorbar":{"title":"tot","ticklen":2,"len":0.5,"lenmode":"fraction","y":1,"yanchor":"top"},"cmin":4891769,"cmax":11430602,"colorscale":[["0","rgba(255,255,204,1)"],["0.0416666666666667","rgba(255,249,189,1)"],["0.0833333333333333","rgba(255,243,175,1)"],["0.125","rgba(255,237,160,1)"],["0.166666666666667","rgba(255,230,146,1)"],["0.208333333333333","rgba(255,224,132,1)"],["0.25","rgba(254,217,118,1)"],["0.291666666666667","rgba(255,204,104,1)"],["0.333333333333333","rgba(255,191,90,1)"],["0.375","rgba(254,178,76,1)"],["0.416666666666667","rgba(254,166,71,1)"],["0.458333333333333","rgba(254,154,65,1)"],["0.5","rgba(253,141,60,1)"],["0.541666666666667","rgba(253,122,54,1)"],["0.583333333333333","rgba(253,102,48,1)"],["0.625","rgba(252,78,42,1)"],["0.666666666666667","rgba(244,64,37,1)"],["0.708333333333333","rgba(235,48,33,1)"],["0.75","rgba(227,26,28,1)"],["0.791666666666667","rgba(214,18,32,1)"],["0.833333333333333","rgba(202,9,35,1)"],["0.875","rgba(189,0,38,1)"],["0.916666666666667","rgba(168,0,38,1)"],["0.958333333333333","rgba(148,0,38,1)"],["1","rgba(128,0,38,1)"]],"showscale":true,"color":[4891769,11430602],"line":{"color":"rgba(255,127,14,1)"}},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}{"viewer":{"width":"100%","height":400,"padding":0,"fill":false},"browser":{"width":"100%","height":400,"padding":0,"fill":false}}. The table of contents of this tutorial is shown below: Note: This article was created in collaboration with Kirby White. type = "bar", I have seen ways to change the background color if I use a Grid layout within my CollectionView's DataTemplate here.However, I'm trying to keep the coding simple by using the inherent GridItemsLayout capability of the CollectionView. Are there different types of zero vectors? colors = "PuOr" Consider I have the following table. @rasika You got that error because you declared mode='markers', but instead giving marker colors you gave a list of colors for line. Kirby is an organizational effectiveness consultant and researcher, who is currently pursuing a Ph.D. at the Seattle Pacific University. go.Scatter (marker_colorscale=plotly.colors.sequential.Viridis). How to save a selection of features, temporary in QGIS? We can change the color by using the color scale. In algorithms for matrix multiplication (eg Strassen), why do we say n is equal to the number of rows and not the number of elements in both matrices? choromap = go.Figure (data= [data], layout = layout) matplotlib don't use the alpha value of the plot in legend. Making statements based on opinion; back them up with references or personal experience. It can help you color your background of each subplot just by adding in the row and col of subplots. plotly Change Colors of plotly Graph in R (Example) This tutorial provides several examples to customize the colors in plotly graphs in the R programming language. ) %>% How to update color of selected markers based on dropdown list? How do I print curly-brace characters in a string while using .format? type = "scatter", Sequential palettes use different shades of one or two colors to create a smooth gradient to represent changes in magnitude. Would Marx consider salary workers to be members of the proleteriat? I need a 'standard array' for a D&D-like homebrew game, but anydice chokes - how to proceed? How do I clone a list so that it doesn't change unexpectedly after assignment? Python -- Setting Background color to transparent in Plotly plots, Microsoft Azure joins Collectives on Stack Overflow. plotly change background color based on valueaccessories for classic cars. Connect and share knowledge within a single location that is structured and easy to search. group_by(state) %>% x = ~state, One way to do this is to use a variable to update the background color for the cells. The latest news about How To Change Background Color Based On Cell Value In Excel Using Conditional Formatting. It worked for me, I hope it will work for you too. Divergent, sequential, and qualitative colorscales. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Below is a snippet of the code. Most Plotly Express functions accept a color argument which automatically assigns data values to continuous color if the data is numeric. y = ~percollege, colors = "Set1" yes, here has a way, you can replace "background-color:green" with "background-image: linear-gradient (to right, yellow , green);" 2 Likes Sumit_Kumar July 1, 2021, 3:08am #5 How can i achieve this in a table ? The background color is set in layout for the figure: plot_bgcolor='rgb (245,245,240)'. color = ~tot, MOLPRO: is there an analogue of the Gaussian FCHK file? Are there developed countries where elected officials can easily terminate government workers? color = ~percbelowpoverty, Matt Eland in AccessibleAI Appending Rows to a Pandas DataFrame Thiago Carvalho in Towards Data Science Jitter plots with Python's Seaborn Petr Korab in Towards Data Science Text Network Analysis: Generate Beautiful Network Visualisations Help Status Writers Blog Careers Privacy Terms About How to add subplot title to 3D subplot in plotly, Card trick: guessing the suit if you see the remaining three cards (important is that you can't move or turn the cards). In the Pern series, what are the "zebeedees"? Find centralized, trusted content and collaborate around the technologies you use most. y = ~tot, How to set colorscales and heatmap colorscales in D3.js-based JavaScript charts in Plotly.js. x = ~perchsd, How to make chocolate safe for Keidran? We can display it with a scatter plot so that we can see each county as a dot, but seperate the dots by the state they belong to. And if you make sure to tweak a few other parameters as well like the zeroline and layer='below' you'll get a result thats pretty good: This worked for me. Could you observe air-drag on an ISS spacewalk? I'm using plotly and it makes the thing a little bit more difficult. import pandas as pd df = pd.read_csv ("e:/values.csv") def setcolor (x): if (x 200): return "black" import plotly.offline as pyo import plotly.graph_objs as go trace1 = go.scatter ( x=df ['date'], y=df ['show1'], # data line = dict (color=list (map (setcolor, df ['show1']))), mode='markers',name='show1' # additional options ) fig Get regular updates on the latest tutorials, offers & news at Statistics Globe. However, the position of those colors is altered so that the shade changes to represent a values distance from the midpoint instead of from the lowest value. Instead of using cufflinks you can use the new Plotly Express library (https://plotly.express) to do this with: If you only have two clusters, you can map the values: Thanks for contributing an answer to Stack Overflow! Here is what the tab-bar design looks like: Applying a custom color scale to Plotly | by Shah Newaz Khan | Towards Data Science Write Sign up Sign In 500 Apologies, but something went wrong on our end. Wall shelves, hooks, other wall-mounted things, without drilling? Powered by Discourse, best viewed with JavaScript enabled. Thank you, That works too. How can I do this? houston isd professional development; archival data research definition; a first course in probability 8th edition solutions pdf; 5 products that failed in the market; neutron bomb radiation; small white countertop microwave; Are the models of infinitesimal analysis (philosophically) circular? Get regular updates on the latest tutorials, offers & news at Statistics Globe. y = ~tot, How do I sort a list of dictionaries by a value of the dictionary? To learn more, see our tips on writing great answers. This is best for ordered data, such as a range of numeric measurements or a scale of customer responses from Very Dissatisfied to Very Satisfied. This tutorial provides several examples to customize the colors in plotly graphs in the R programming language. How can we cool a computer connected on top of or within a human brain? LM317 voltage regulator to replace AA battery. Loading. A little more about my application: When my application starts, my TextBlocks have default background color. To specify the color to use as the low and high values, you can specify it with a common color name or hex code, like this: df %>% Also find news related to How To Change Background Color Based On Cell Value In Excel Using Conditional Formatting which is trending today. How To Distinguish Between Philosophy And Non-Philosophy? I need to change my text color and background color based on a certain JSON value. I want to change the marker colors based on values , so i tried the below piece of code. x=list(range(10)), y=list(range(10)), """, This is aprox what I want to do but instead of having the same color background, I want for each plot a different background. color = ~percbelowpoverty, fig = go.Figure (data=go.Scatter ( y=np.random.randn (500), mode='markers', marker=dict ( size=8, # set color equal to a variable color=np.random.randn (500), # one of plotly colorscales colorscale='hot', # enable color scale showscale=True ) )) Example 1: Python3 Join Plotlys CTO on January 26 for a technical tutorial on high-performance data tables. clustered.iplot (kind='scatter',x='value1',y='value2', colors = {' [clustered ['group']==1]':'green', ' [clustered ['group']==0]':'yellow'},mode='markers',size=10) Its wrong because it will only get True and false for color dict object. . Plot With Background Color | line chart made by Dhershfeld | plotly . I am using this for scatter plot in plotly. Making statements based on opinion; back them up with references or personal experience. x = ~state, To quickly see the names and color scales within each type of palette, run this from your R console: Now that you have a basic idea of the available colors, lets use them in our plotly graphs. (Basically Dog-people). BUT you are free to place shapes anywhere you'd like on both subplots by referencing both x axes through xref=x and xref=x2 in fig.update_layout(shapes=dict()). I'm trying to set the background color of all selected items in a CollectionView for which I'm using a GridItemsLayout. type = "bar", The latest news about How To Change Background Color Based On Cell Value In Excel Cell Background Color In Excel. type = "scatter", plot_ly( Plotly: How to change the background color of each subplot? You might have noticed that these colors are commonly used on the Statistics Globe website. layout(plot_bgcolor = "#bababa")# increases contrast between the dots and background, {"x":{"visdat":{"879c3f887cfb":["function () ","plotlyVisDat"]},"cur_data":"879c3f887cfb","attrs":{"879c3f887cfb":{"x":{},"y":{},"color":{},"colors":["#4e9665","white","#c26d11"],"alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"type":"scatter"}},"layout":{"margin":{"b":40,"l":60,"t":25,"r":10},"plot_bgcolor":"#bababa","xaxis":{"domain":[0,1],"automargin":true,"title":"state","type":"category","categoryorder":"array","categoryarray":["IL","IN","MI","OH","WI"]},"yaxis":{"domain":[0,1],"automargin":true,"title":"percbelowpoverty"},"hovermode":"closest","showlegend":false,"legend":{"yanchor":"top","y":0.5}},"source":"A","config":{"showSendToCloud":false},"data":[{"x":["IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IL","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","IN","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","MI","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","OH","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI","WI"],"y":[13.1514428,32.2442777,12.0688444,7.20901869,13.5202492,10.3996354,15.1497806,11.7107262,13.875086,15.5724373,11.7082988,12.0076849,16.7742841,10.2236719,16.7487361,14.1983027,10.5370496,12.0491029,13.5446352,10.3153098,9.62904911,2.71473392,16.0037387,12.2040816,8.99484454,13.618137,9.26406926,20.764174,15.494738,21.4338726,15.5339163,6.6168423,19.8496958,11.7843671,26.7460638,12.9389788,10.4790775,9.19871476,28.37175,13.1005613,16.0569941,9.74453113,8.28782971,15.5555556,6.84655982,13.2967579,3.38529044,13.8684894,5.15977808,11.1014329,19.8475272,8.8240781,9.32516723,10.7813834,19.0520801,3.49159858,11.8754409,12.7417969,13.2127536,11.3387945,16.3676471,9.38470111,15.5070203,16.7410092,9.55855527,10.1317182,4.81174392,14.0295831,11.1954009,11.3432165,7.24535143,14.5278437,15.8368895,6.13124388,17.9326231,25.1682692,30.184115,7.54980776,11.0021183,13.9758442,13.1845267,17.43177,20.183989,9.88816583,16.496945,11.5274292,10.0045434,12.4609619,9.90788777,9.13257358,18.1596624,15.2386659,12.9426415,14.2334771,9.28180575,14.3954497,19.0564636,10.9610196,6.03472031,15.8013424,10.11722,7.18770706,11.6366022,7.90353294,8.54517074,8.04301075,9.85398835,6.29645474,6.86836822,7.49270191,10.3468611,10.0649125,11.8432404,9.4051687,18.4662577,15.5413444,8.48015894,9.06431491,6.45652112,16.7477272,6.13661065,7.04203252,10.7856556,11.0080874,9.83895749,10.6270968,10.3379722,9.63843897,13.0816506,13.1788897,3.59164389,4.46341247,9.83118509,3.66904804,12.3508164,11.5152123,6.56452598,10.4921027,7.9706499,9.74078096,11.63417,12.8030104,6.90263832,15.6978787,6.64170956,11.5079091,13.8051489,10.0542884,9.72195863,12.7249193,12.058044,7.54512374,13.8478112,10.9393678,19.4390189,9.39771391,6.67728276,8.8580015,8.04881983,9.88427243,15.3455228,13.5515663,12.1961075,11.6225293,13.2637372,6.11662591,7.62490751,10.8285875,8.27324333,11.3516742,10.547358,11.1774404,9.65490781,18.9813917,7.23109825,9.85760653,13.425739,5.63279454,12.5120463,15.2193965,14.3816521,6.43946526,9.47922762,12.4767028,11.6709106,14.6943267,9.1922343,9.16408669,6.58195737,14.296708,14.8926049,5.57257304,7.70436145,5.22549631,17.250996,14.4817795,9.49798609,13.4755515,13.2148033,20.6492089,16.8181818,9.07498319,12.5302165,12.8591538,14.7057709,14.0848613,14.2920025,11.8824827,10.3952941,15.5614542,17.0759004,23.7134002,6.01778536,14.5907166,14.6125342,9.8998299,6.81371478,8.51470648,16.4631781,22.3233677,14.8806442,8.54911566,14.0803187,12.8031705,21.0367357,15.0098596,16.6181628,11.3299159,14.1585927,17.1193543,24.8546332,12.0132365,13.4748672,14.2256587,9.15135108,20.5778302,26.4099201,8.19289921,9.00621118,10.4015537,4.13104415,17.6787639,16.4049196,5.19306071,17.6238095,12.6088135,14.0613194,25.0681951,12.7514046,11.0851824,17.2889,8.6398101,15.3187478,17.5167557,15.2551173,15.8807157,6.04364408,17.8868027,21.7545197,13.1887052,18.5463154,17.8025395,9.46725484,5.9866877,14.6987598,18.0542802,17.2489104,10.9326098,11.4917375,14.2962063,16.6098807,10.5882353,12.8583295,15.1332262,12.1629329,20.0653001,14.6401413,28.5280486,12.6665583,11.3441498,16.117325,28.6733854,6.26949967,17.4190874,14.1554633,10.6499292,11.746884,8.82668625,13.4166632,8.69374802,12.2505142,15.8916432,13.188643,11.5916845,13.7661167,8.98643378,8.7584015,5.67311599,8.98602233,8.77759721,16.2203377,12.9900058,6.22976707,22.4885998,5.55217051,9.49098621,17.4721872,13.2924553,7.27748528,16.3821236,19.6988866,6.96360254,16.4835476,15.7098604,17.2447377,9.50391645,24.1882573,17.1494077,12.4511509,4.89729435,23.5399216,10.4998476,10.4676899,11.4912737,15.268812,8.4275468,15.9196047,12.7133244,5.52063112,26.0092654,6.70414004,8.35151476,21.4912281,12.6286587,21.2079862,11.0750729,14.7208439,16.3743737,6.61301787,9.78914179,19.0657495,12.0777505,26.5757449,11.9088477,10.1883173,5.75621444,11.2517167,17.7496887,8.99672757,25.7923269,10.7518862,7.74582455,11.0605711,12.1499704,11.4047862,11.1222421,7.43101903,7.09167861,23.6079364,6.35232602,13.6737757,11.6558987,7.55363161,10.5726282,8.49468795,14.4351177,16.2203814,11.5524279,16.5835321,9.16570294,11.9067257,15.4884519,4.87158341,10.476041,13.7719327,7.49359912,14.6382213,10.4930054,6.64470071,9.82305079,14.9210904,16.6336754,15.9437222,13.1398183,7.64423242,21.7806782,13.7150754,7.83675933,9.9722086,9.99497235,13.0709185,14.6577198,7.1956347,12.7835052,10.2140341,8.21991212,13.4085401,11.02382,14.625143,10.4175389,8.33564984,7.91853617,11.6593521,11.6072894,48.6910995,15.8734784,13.0026772,12.0941176,9.61799935,6.20236225,2.1801676,12.6152074,10.4165985,11.8223134,12.8950783,10.8899221,10.1512831,13.4403617,9.87720628,16.5785191,6.40236495,9.69194467,20.5440023,11.2973701,6.48642767,12.664624,10.6754168,15.8249292,14.7369024,9.64180398,15.8660952,3.23762786,3.1210599,8.48869675,13.7869853,8.80403135,8.52583064],"type":"scatter","mode":"markers","marker":{"colorbar":{"title":"percbelowpoverty","ticklen":2},"cmin":2.1801676,"cmax":48.6910995,"colorscale":[["0","rgba(78,150,101,1)"],["0.0416666666666667","rgba(94,159,113,1)"],["0.0833333333333333","rgba(109,167,125,1)"],["0.125","rgba(123,176,137,1)"],["0.166666666666667","rgba(138,185,150,1)"],["0.208333333333333","rgba(152,193,163,1)"],["0.25","rgba(167,202,175,1)"],["0.291666666666667","rgba(181,211,188,1)"],["0.333333333333333","rgba(196,220,201,1)"],["0.375","rgba(211,228,215,1)"],["0.416666666666667","rgba(225,237,228,1)"],["0.458333333333333","rgba(240,246,241,1)"],["0.5","rgba(255,255,255,1)"],["0.541666666666667","rgba(253,242,235,1)"],["0.583333333333333","rgba(250,230,215,1)"],["0.625","rgba(247,217,195,1)"],["0.666666666666667","rgba(243,205,176,1)"],["0.708333333333333","rgba(239,192,156,1)"],["0.75","rgba(234,180,137,1)"],["0.791666666666667","rgba(228,168,119,1)"],["0.833333333333333","rgba(222,156,100,1)"],["0.875","rgba(216,144,81,1)"],["0.916666666666667","rgba(209,132,62,1)"],["0.958333333333333","rgba(202,121,42,1)"],["1","rgba(194,109,17,1)"]],"showscale":false,"color":[13.1514428,32.2442777,12.0688444,7.20901869,13.5202492,10.3996354,15.1497806,11.7107262,13.875086,15.5724373,11.7082988,12.0076849,16.7742841,10.2236719,16.7487361,14.1983027,10.5370496,12.0491029,13.5446352,10.3153098,9.62904911,2.71473392,16.0037387,12.2040816,8.99484454,13.618137,9.26406926,20.764174,15.494738,21.4338726,15.5339163,6.6168423,19.8496958,11.7843671,26.7460638,12.9389788,10.4790775,9.19871476,28.37175,13.1005613,16.0569941,9.74453113,8.28782971,15.5555556,6.84655982,13.2967579,3.38529044,13.8684894,5.15977808,11.1014329,19.8475272,8.8240781,9.32516723,10.7813834,19.0520801,3.49159858,11.8754409,12.7417969,13.2127536,11.3387945,16.3676471,9.38470111,15.5070203,16.7410092,9.55855527,10.1317182,4.81174392,14.0295831,11.1954009,11.3432165,7.24535143,14.5278437,15.8368895,6.13124388,17.9326231,25.1682692,30.184115,7.54980776,11.0021183,13.9758442,13.1845267,17.43177,20.183989,9.88816583,16.496945,11.5274292,10.0045434,12.4609619,9.90788777,9.13257358,18.1596624,15.2386659,12.9426415,14.2334771,9.28180575,14.3954497,19.0564636,10.9610196,6.03472031,15.8013424,10.11722,7.18770706,11.6366022,7.90353294,8.54517074,8.04301075,9.85398835,6.29645474,6.86836822,7.49270191,10.3468611,10.0649125,11.8432404,9.4051687,18.4662577,15.5413444,8.48015894,9.06431491,6.45652112,16.7477272,6.13661065,7.04203252,10.7856556,11.0080874,9.83895749,10.6270968,10.3379722,9.63843897,13.0816506,13.1788897,3.59164389,4.46341247,9.83118509,3.66904804,12.3508164,11.5152123,6.56452598,10.4921027,7.9706499,9.74078096,11.63417,12.8030104,6.90263832,15.6978787,6.64170956,11.5079091,13.8051489,10.0542884,9.72195863,12.7249193,12.058044,7.54512374,13.8478112,10.9393678,19.4390189,9.39771391,6.67728276,8.8580015,8.04881983,9.88427243,15.3455228,13.5515663,12.1961075,11.6225293,13.2637372,6.11662591,7.62490751,10.8285875,8.27324333,11.3516742,10.547358,11.1774404,9.65490781,18.9813917,7.23109825,9.85760653,13.425739,5.63279454,12.5120463,15.2193965,14.3816521,6.43946526,9.47922762,12.4767028,11.6709106,14.6943267,9.1922343,9.16408669,6.58195737,14.296708,14.8926049,5.57257304,7.70436145,5.22549631,17.250996,14.4817795,9.49798609,13.4755515,13.2148033,20.6492089,16.8181818,9.07498319,12.5302165,12.8591538,14.7057709,14.0848613,14.2920025,11.8824827,10.3952941,15.5614542,17.0759004,23.7134002,6.01778536,14.5907166,14.6125342,9.8998299,6.81371478,8.51470648,16.4631781,22.3233677,14.8806442,8.54911566,14.0803187,12.8031705,21.0367357,15.0098596,16.6181628,11.3299159,14.1585927,17.1193543,24.8546332,12.0132365,13.4748672,14.2256587,9.15135108,20.5778302,26.4099201,8.19289921,9.00621118,10.4015537,4.13104415,17.6787639,16.4049196,5.19306071,17.6238095,12.6088135,14.0613194,25.0681951,12.7514046,11.0851824,17.2889,8.6398101,15.3187478,17.5167557,15.2551173,15.8807157,6.04364408,17.8868027,21.7545197,13.1887052,18.5463154,17.8025395,9.46725484,5.9866877,14.6987598,18.0542802,17.2489104,10.9326098,11.4917375,14.2962063,16.6098807,10.5882353,12.8583295,15.1332262,12.1629329,20.0653001,14.6401413,28.5280486,12.6665583,11.3441498,16.117325,28.6733854,6.26949967,17.4190874,14.1554633,10.6499292,11.746884,8.82668625,13.4166632,8.69374802,12.2505142,15.8916432,13.188643,11.5916845,13.7661167,8.98643378,8.7584015,5.67311599,8.98602233,8.77759721,16.2203377,12.9900058,6.22976707,22.4885998,5.55217051,9.49098621,17.4721872,13.2924553,7.27748528,16.3821236,19.6988866,6.96360254,16.4835476,15.7098604,17.2447377,9.50391645,24.1882573,17.1494077,12.4511509,4.89729435,23.5399216,10.4998476,10.4676899,11.4912737,15.268812,8.4275468,15.9196047,12.7133244,5.52063112,26.0092654,6.70414004,8.35151476,21.4912281,12.6286587,21.2079862,11.0750729,14.7208439,16.3743737,6.61301787,9.78914179,19.0657495,12.0777505,26.5757449,11.9088477,10.1883173,5.75621444,11.2517167,17.7496887,8.99672757,25.7923269,10.7518862,7.74582455,11.0605711,12.1499704,11.4047862,11.1222421,7.43101903,7.09167861,23.6079364,6.35232602,13.6737757,11.6558987,7.55363161,10.5726282,8.49468795,14.4351177,16.2203814,11.5524279,16.5835321,9.16570294,11.9067257,15.4884519,4.87158341,10.476041,13.7719327,7.49359912,14.6382213,10.4930054,6.64470071,9.82305079,14.9210904,16.6336754,15.9437222,13.1398183,7.64423242,21.7806782,13.7150754,7.83675933,9.9722086,9.99497235,13.0709185,14.6577198,7.1956347,12.7835052,10.2140341,8.21991212,13.4085401,11.02382,14.625143,10.4175389,8.33564984,7.91853617,11.6593521,11.6072894,48.6910995,15.8734784,13.0026772,12.0941176,9.61799935,6.20236225,2.1801676,12.6152074,10.4165985,11.8223134,12.8950783,10.8899221,10.1512831,13.4403617,9.87720628,16.5785191,6.40236495,9.69194467,20.5440023,11.2973701,6.48642767,12.664624,10.6754168,15.8249292,14.7369024,9.64180398,15.8660952,3.23762786,3.1210599,8.48869675,13.7869853,8.80403135,8.52583064],"line":{"colorbar":{"title":"","ticklen":2},"cmin":2.1801676,"cmax":48.6910995,"colorscale":[["0","rgba(78,150,101,1)"],["0.0416666666666667","rgba(94,159,113,1)"],["0.0833333333333333","rgba(109,167,125,1)"],["0.125","rgba(123,176,137,1)"],["0.166666666666667","rgba(138,185,150,1)"],["0.208333333333333","rgba(152,193,163,1)"],["0.25","rgba(167,202,175,1)"],["0.291666666666667","rgba(181,211,188,1)"],["0.333333333333333","rgba(196,220,201,1)"],["0.375","rgba(211,228,215,1)"],["0.416666666666667","rgba(225,237,228,1)"],["0.458333333333333","rgba(240,246,241,1)"],["0.5","rgba(255,255,255,1)"],["0.541666666666667","rgba(253,242,235,1)"],["0.583333333333333","rgba(250,230,215,1)"],["0.625","rgba(247,217,195,1)"],["0.666666666666667","rgba(243,205,176,1)"],["0.708333333333333","rgba(239,192,156,1)"],["0.75","rgba(234,180,137,1)"],["0.791666666666667","rgba(228,168,119,1)"],["0.833333333333333","rgba(222,156,100,1)"],["0.875","rgba(216,144,81,1)"],["0.916666666666667","rgba(209,132,62,1)"],["0.958333333333333","rgba(202,121,42,1)"],["1","rgba(194,109,17,1)"]],"showscale":false,"color":[13.1514428,32.2442777,12.0688444,7.20901869,13.5202492,10.3996354,15.1497806,11.7107262,13.875086,15.5724373,11.7082988,12.0076849,16.7742841,10.2236719,16.7487361,14.1983027,10.5370496,12.0491029,13.5446352,10.3153098,9.62904911,2.71473392,16.0037387,12.2040816,8.99484454,13.618137,9.26406926,20.764174,15.494738,21.4338726,15.5339163,6.6168423,19.8496958,11.7843671,26.7460638,12.9389788,10.4790775,9.19871476,28.37175,13.1005613,16.0569941,9.74453113,8.28782971,15.5555556,6.84655982,13.2967579,3.38529044,13.8684894,5.15977808,11.1014329,19.8475272,8.8240781,9.32516723,10.7813834,19.0520801,3.49159858,11.8754409,12.7417969,13.2127536,11.3387945,16.3676471,9.38470111,15.5070203,16.7410092,9.55855527,10.1317182,4.81174392,14.0295831,11.1954009,11.3432165,7.24535143,14.5278437,15.8368895,6.13124388,17.9326231,25.1682692,30.184115,7.54980776,11.0021183,13.9758442,13.1845267,17.43177,20.183989,9.88816583,16.496945,11.5274292,10.0045434,12.4609619,9.90788777,9.13257358,18.1596624,15.2386659,12.9426415,14.2334771,9.28180575,14.3954497,19.0564636,10.9610196,6.03472031,15.8013424,10.11722,7.18770706,11.6366022,7.90353294,8.54517074,8.04301075,9.85398835,6.29645474,6.86836822,7.49270191,10.3468611,10.0649125,11.8432404,9.4051687,18.4662577,15.5413444,8.48015894,9.06431491,6.45652112,16.7477272,6.13661065,7.04203252,10.7856556,11.0080874,9.83895749,10.6270968,10.3379722,9.63843897,13.0816506,13.1788897,3.59164389,4.46341247,9.83118509,3.66904804,12.3508164,11.5152123,6.56452598,10.4921027,7.9706499,9.74078096,11.63417,12.8030104,6.90263832,15.6978787,6.64170956,11.5079091,13.8051489,10.0542884,9.72195863,12.7249193,12.058044,7.54512374,13.8478112,10.9393678,19.4390189,9.39771391,6.67728276,8.8580015,8.04881983,9.88427243,15.3455228,13.5515663,12.1961075,11.6225293,13.2637372,6.11662591,7.62490751,10.8285875,8.27324333,11.3516742,10.547358,11.1774404,9.65490781,18.9813917,7.23109825,9.85760653,13.425739,5.63279454,12.5120463,15.2193965,14.3816521,6.43946526,9.47922762,12.4767028,11.6709106,14.6943267,9.1922343,9.16408669,6.58195737,14.296708,14.8926049,5.57257304,7.70436145,5.22549631,17.250996,14.4817795,9.49798609,13.4755515,13.2148033,20.6492089,16.8181818,9.07498319,12.5302165,12.8591538,14.7057709,14.0848613,14.2920025,11.8824827,10.3952941,15.5614542,17.0759004,23.7134002,6.01778536,14.5907166,14.6125342,9.8998299,6.81371478,8.51470648,16.4631781,22.3233677,14.8806442,8.54911566,14.0803187,12.8031705,21.0367357,15.0098596,16.6181628,11.3299159,14.1585927,17.1193543,24.8546332,12.0132365,13.4748672,14.2256587,9.15135108,20.5778302,26.4099201,8.19289921,9.00621118,10.4015537,4.13104415,17.6787639,16.4049196,5.19306071,17.6238095,12.6088135,14.0613194,25.0681951,12.7514046,11.0851824,17.2889,8.6398101,15.3187478,17.5167557,15.2551173,15.8807157,6.04364408,17.8868027,21.7545197,13.1887052,18.5463154,17.8025395,9.46725484,5.9866877,14.6987598,18.0542802,17.2489104,10.9326098,11.4917375,14.2962063,16.6098807,10.5882353,12.8583295,15.1332262,12.1629329,20.0653001,14.6401413,28.5280486,12.6665583,11.3441498,16.117325,28.6733854,6.26949967,17.4190874,14.1554633,10.6499292,11.746884,8.82668625,13.4166632,8.69374802,12.2505142,15.8916432,13.188643,11.5916845,13.7661167,8.98643378,8.7584015,5.67311599,8.98602233,8.77759721,16.2203377,12.9900058,6.22976707,22.4885998,5.55217051,9.49098621,17.4721872,13.2924553,7.27748528,16.3821236,19.6988866,6.96360254,16.4835476,15.7098604,17.2447377,9.50391645,24.1882573,17.1494077,12.4511509,4.89729435,23.5399216,10.4998476,10.4676899,11.4912737,15.268812,8.4275468,15.9196047,12.7133244,5.52063112,26.0092654,6.70414004,8.35151476,21.4912281,12.6286587,21.2079862,11.0750729,14.7208439,16.3743737,6.61301787,9.78914179,19.0657495,12.0777505,26.5757449,11.9088477,10.1883173,5.75621444,11.2517167,17.7496887,8.99672757,25.7923269,10.7518862,7.74582455,11.0605711,12.1499704,11.4047862,11.1222421,7.43101903,7.09167861,23.6079364,6.35232602,13.6737757,11.6558987,7.55363161,10.5726282,8.49468795,14.4351177,16.2203814,11.5524279,16.5835321,9.16570294,11.9067257,15.4884519,4.87158341,10.476041,13.7719327,7.49359912,14.6382213,10.4930054,6.64470071,9.82305079,14.9210904,16.6336754,15.9437222,13.1398183,7.64423242,21.7806782,13.7150754,7.83675933,9.9722086,9.99497235,13.0709185,14.6577198,7.1956347,12.7835052,10.2140341,8.21991212,13.4085401,11.02382,14.625143,10.4175389,8.33564984,7.91853617,11.6593521,11.6072894,48.6910995,15.8734784,13.0026772,12.0941176,9.61799935,6.20236225,2.1801676,12.6152074,10.4165985,11.8223134,12.8950783,10.8899221,10.1512831,13.4403617,9.87720628,16.5785191,6.40236495,9.69194467,20.5440023,11.2973701,6.48642767,12.664624,10.6754168,15.8249292,14.7369024,9.64180398,15.8660952,3.23762786,3.1210599,8.48869675,13.7869853,8.80403135,8.52583064]}},"xaxis":"x","yaxis":"y","frame":null},{"x":["IL","WI"],"y":[2.1801676,48.6910995],"type":"scatter","mode":"markers","opacity":0,"hoverinfo":"none","showlegend":false,"marker":{"colorbar":{"title":"percbelowpoverty","ticklen":2,"len":0.5,"lenmode":"fraction","y":1,"yanchor":"top"},"cmin":2.1801676,"cmax":48.6910995,"colorscale":[["0","rgba(78,150,101,1)"],["0.0416666666666667","rgba(94,159,113,1)"],["0.0833333333333333","rgba(109,167,125,1)"],["0.125","rgba(123,176,137,1)"],["0.166666666666667","rgba(138,185,150,1)"],["0.208333333333333","rgba(152,193,163,1)"],["0.25","rgba(167,202,175,1)"],["0.291666666666667","rgba(181,211,188,1)"],["0.333333333333333","rgba(196,220,201,1)"],["0.375","rgba(211,228,215,1)"],["0.416666666666667","rgba(225,237,228,1)"],["0.458333333333333","rgba(240,246,241,1)"],["0.5","rgba(255,255,255,1)"],["0.541666666666667","rgba(253,242,235,1)"],["0.583333333333333","rgba(250,230,215,1)"],["0.625","rgba(247,217,195,1)"],["0.666666666666667","rgba(243,205,176,1)"],["0.708333333333333","rgba(239,192,156,1)"],["0.75","rgba(234,180,137,1)"],["0.791666666666667","rgba(228,168,119,1)"],["0.833333333333333","rgba(222,156,100,1)"],["0.875","rgba(216,144,81,1)"],["0.916666666666667","rgba(209,132,62,1)"],["0.958333333333333","rgba(202,121,42,1)"],["1","rgba(194,109,17,1)"]],"showscale":true,"color":[2.1801676,48.6910995],"line":{"color":"rgba(255,127,14,1)"}},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}{"viewer":{"width":"100%","height":400,"padding":0,"fill":false},"browser":{"width":"100%","height":400,"padding":0,"fill":false}}.