I was inspired by Rohit Singh and his team's presentations at Esri UC 2018. So I started learning Jupyter. I am using electric consumption data to explore correlations with consumption and maintenance of electric facilities. I tried to use a graduated renderer with a field called MaxConsumption to class the size of the points. But the results just show simple points. My full code is hosted on GitHub in a Jupyter Notebook. I'm still working on that so it will likely change as this post ages. Currently this line below is not producing the results am looking for.
If anyone can provide an example or point to a sample using GraduatedSymbolsRenderer with ArcGIS Python API I would appreciate it.
consumptionLyr <SPAN class="operator token">=</SPAN> gis<SPAN class="punctuation token">.</SPAN>content<SPAN class="punctuation token">.</SPAN>import_data<SPAN class="punctuation token">(</SPAN>sdf<SPAN class="punctuation token">)</SPAN>
m<SPAN class="punctuation token">.</SPAN>add_layer<SPAN class="punctuation token">(</SPAN>consumptionLyr<SPAN class="punctuation token">,</SPAN>options<SPAN class="operator token">=</SPAN><SPAN class="punctuation token">{</SPAN><SPAN class="string token">"renderer"</SPAN><SPAN class="punctuation token">:</SPAN><SPAN class="string token">"GraduatedSymbolsRenderer"</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="string token">"classificationField"</SPAN><SPAN class="punctuation token">:</SPAN><SPAN class="string token">"MAXCONSUMPtION"</SPAN><SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN></SPAN>