***SOLVED**** Custom Choropleth Geojson Coordinates not displaying

Hello all,

EDIT Hi all, in case anyone is curious about what occurred. It was entirely a misunderstanding of the ā€˜scopeā€™ parameter. I had this listed under ā€˜usaā€™ which cuts the bounds off. Expanding scope made the missing components appear!

First time poster, entirely self taught, and I apologize if this has been covered before, but Iā€™m so lost and really need a helping hand.

Plotly and Dash have been quite possibly one of the best things to ever enter my life - the ability to interact with data and have so much flexibility and customization is unreal. However, Iā€™ve found that the Choropleth map options function under a Lat-Long coordinate system. This was a unique challenge to convert the projected coordinates to lat-long, and I believe Iā€™ve gotten this part down pat.

The problem Iā€™m encountering is that I can take these new coordinates, put them into json and have only SOME of the new shapes plot on the Choropleth. Interestingly, if I take the new coordinates and convert them into a shapely Polygon they look fine. When I look at the coordinate pairs and the overall structure I canā€™t physically see why this shouldnā€™t populate. When the object doesnā€™t draw, it wonā€™t show the scope map either, so something has to be going wrong with my coordinates.

Paring down the feature list in the geojson to nothing more than its type, geometry, and id still works for some, but not for others.

Iā€™ve never shared code, and the coordinates for these polygons are long so any advice on how to share the examples would also be appreciated.

#Working GeoJson
working = {'type': 'Feature',
'geometry': {'type': 'Polygon',
  'coordinates': [[[-114.16338058824535, 50.92137510647036],
    [-114.1407258479766, 50.92134213462709],
    [-114.14038469495799, 50.928768069922754],
    [-114.1402503579515, 50.92879293684482],
    [-114.13902268579645, 50.92895078779702],
    [-114.13867295358023, 50.929074158639494],
    [-114.13843080377875, 50.92907720529202],
    [-114.13807938930927, 50.9290056251201],
    [-114.13737928560577, 50.92881755632287],
    [-114.13666771712413, 50.928584218896944],
    [-114.13643274420826, 50.92847050817669],
    [-114.13632956074717, 50.92829705870902],
    [-114.13632210444075, 50.92795508641905],
    [-114.1361729509461, 50.92783448512433],
    [-114.13505645389158, 50.927474255642615],
    [-114.13494278373187, 50.92747146495453],
    [-114.13469528270772, 50.92733046618473],
    [-114.13424509737834, 50.927013592963256],
    [-114.13397631997672, 50.92675513974964],
    [-114.13378137448183, 50.92645351944006],
    [-114.13351319711555, 50.92618606245083],
    [-114.13334871781653, 50.92608309523623],
    [-114.13310013136756, 50.9259600239815],
    [-114.1324875698661, 50.92573811071925],
    [-114.13195253908242, 50.92564398933465],
    [-114.13169674784888, 50.92563769900357],
    [-114.13040964231966, 50.925507123808266],
    [-114.12966518331969, 50.92557874335593],
    [-114.1289697784281, 50.92577753435151],
    [-114.1284727811571, 50.92599015733631],
    [-114.12807583630848, 50.92619627071343],
    [-114.12749354772278, 50.92640681125206],
    [-114.1271998211072, 50.92661967068519],
    [-114.12688336396, 50.926819352220555],
    [-114.12637254898833, 50.92697617084426],
    [-114.12620469740304, 50.92721954477313],
    [-114.12606660846549, 50.927514533942954],
    [-114.12576269514803, 50.92778929075526],
    [-114.12520126048692, 50.92804549702314],
    [-114.12470312298339, 50.92838453988851],
    [-114.12424928711701, 50.92858665320643],
    [-114.12378935998237, 50.92885842312105],
    [-114.12262340071837, 50.9288154550822],
    [-114.12234807166344, 50.928498885908084],
    [-114.12267411363722, 50.92810208208889],
    [-114.12297054259886, 50.92776083912473],
    [-114.12297343761587, 50.927311880265],
    [-114.12266223969155, 50.92701330678757],
    [-114.12197024604315, 50.926909766562794],
    [-114.1217581922311, 50.92667604730912],
    [-114.12158330615887, 50.92645327747141],
    [-114.12111656726013, 50.92636598434892],
    [-114.12047699527594, 50.92651347584039],
    [-114.11942052085247, 50.92676684435375],
    [-114.11831459732126, 50.927041347289304],
    [-114.11804003316247, 50.927099259184274],
    [-114.11781971085759, 50.92714570969436],
    [-114.11672717555123, 50.92730992185208],
    [-114.11536083384152, 50.92729358908382],
    [-114.11415116790197, 50.92698774718424],
    [-114.11306570810906, 50.926835933360174],
    [-114.11280930373599, 50.926800084135145],
    [-114.11217579052783, 50.92687792308746],
    [-114.11140375524145, 50.927036389612205],
    [-114.11080608929589, 50.927096182236845],
    [-114.11055823173922, 50.92688045250741],
    [-114.11022236345964, 50.92653884733174],
    [-114.10968632996445, 50.92643826819002],
    [-114.10912066045599, 50.92639321906174],
    [-114.10856016238874, 50.92646395245406],
    [-114.10828473905006, 50.92686847757723],
    [-114.10831132050771, 50.92726190265484],
    [-114.10846914998174, 50.927722511333336],
    [-114.10894992638778, 50.928128184818775],
    [-114.1092907993471, 50.92847838908941],
    [-114.10908102206287, 50.92891651789164],
    [-114.10942491918269, 50.929646092397604],
    [-114.1097042962171, 50.9302638419013],
    [-114.10956611422137, 50.93055880248215],
    [-114.10923976670179, 50.93084839703871],
    [-114.10861148016983, 50.93114912350701],
    [-114.10846747380104, 50.931204802302695],
    [-114.10748944301366, 50.931583087056886],
    [-114.10623413259765, 50.93232059862059],
    [-114.10577037947125, 50.93261259733456],
    [-114.10508740393094, 50.93281868782489],
    [-114.10458763098376, 50.933021546698136],
    [-114.10408752959975, 50.93301007061076],
    [-114.10356135118465, 50.93292666139277],
    [-114.1031379810416, 50.93288778511726],
    [-114.10271244936033, 50.93311248404521],
    [-114.10329366718362, 50.93361200321573],
    [-114.1039850311754, 50.93411535746353],
    [-114.10446215206329, 50.93454140187204],
    [-114.10464591656968, 50.93496681135167],
    [-114.10438005006417, 50.93517422301359],
    [-114.10306435388723, 50.935272689984586],
    [-114.102298221967, 50.935361465387416],
    [-114.10151822927435, 50.935239076502626],
    [-114.10089176583563, 50.935169001948196],
    [-114.10014751480031, 50.934921396607365],
    [-114.0996311137874, 50.93474800008458],
    [-114.09879921628534, 50.93469599586584],
    [-114.09818372297919, 50.934457735122464],
    [-114.0973154831954, 50.93399509190076],
    [-114.0968212108737, 50.93369964592288],
    [-114.09595923515792, 50.93327453821278],
    [-114.09539684607519, 50.932887606645146],
    [-114.09484043852967, 50.93232391066023],
    [-114.094747210994, 50.93229558002949],
    [-114.0940740112828, 50.932091135506035],
    [-114.09290535477936, 50.93188279011072],
    [-114.09199322144697, 50.9319856524025],
    [-114.09140790827476, 50.932120423218855],
    [-114.09104164117697, 50.93223399065662],
    [-114.09071134636349, 50.932436696598415],
    [-114.09034404409945, 50.932735626246064],
    [-114.09024155532106, 50.93301256518304],
    [-114.09001414749794, 50.93336698904048],
    [-114.08946196583165, 50.9332115386051],
    [-114.08882709026533, 50.93336744411831],
    [-114.0879458752309, 50.933443652447586],
    [-114.08705478228227, 50.93360980226178],
    [-114.08649899464737, 50.9335818223552],
    [-114.08629829434065, 50.933394173257945],
    [-114.08649356079916, 50.93303744673711],
    [-114.08669958341079, 50.93229819672202],
    [-114.08683776025052, 50.931788949452326],
    [-114.08681260590997, 50.93131730155055],
    [-114.08692742529117, 50.931008299250784],
    [-114.0869629094702, 50.93056167193699],
    [-114.08676439267008, 50.9300032816637],
    [-114.08636176373149, 50.929599045451816],
    [-114.08590480855516, 50.92931447967587],
    [-114.08518194751862, 50.92923729336078],
    [-114.08455434390784, 50.92913817537745],
    [-114.08394182051839, 50.92927916875813],
    [-114.08359421787573, 50.929505347213166],
    [-114.08288024304166, 50.929737867530335],
    [-114.08219956587098, 50.92978737227057],
    [-114.08175633461812, 50.92960682370727],
    [-114.08097261781867, 50.92929028770258],
    [-114.08038590317801, 50.929181735476824],
    [-114.07985982406855, 50.92909820336597],
    [-114.07922123955218, 50.92916720775021],
    [-114.07827090483369, 50.92944436625464],
    [-114.07749987224867, 50.92952434772026],
    [-114.07574112134049, 50.929549064939046],
    [-114.07406278511839, 50.92952599059587],
    [-114.07308381786744, 50.92956610666403],
    [-114.07227684423664, 50.929217325105355],
    [-114.07220116265093, 50.929184612413195],
    [-114.07219012201855, 50.92912279869488],
    [-114.07224299454079, 50.92911583763322],
    [-114.07234431006698, 50.92910337483815],
    [-114.07271987808862, 50.92826430020841],
    [-114.07301155409877, 50.927647080487574],
    [-114.07333436288438, 50.92689762255925],
    [-114.07335879193239, 50.926840833015646],
    [-114.07336673675346, 50.926792928174144],
    [-114.07339154343255, 50.92664356766811],
    [-114.07340770813444, 50.926546043256664],
    [-114.07342135690574, 50.926463658459866],
    [-114.07356705557945, 50.92539624277887],
    [-114.07349319317494, 50.92521924159314],
    [-114.07349986102506, 50.925183108597444],
    [-114.07392318015582, 50.92465953983034],
    [-114.07433481587029, 50.92415040917713],
    [-114.07375267855709, 50.923674818001274],
    [-114.07351930828833, 50.923101720931434],
    [-114.07342827324261, 50.922732339696076],
    [-114.07339671498126, 50.92260420722354],
    [-114.07335927006011, 50.92245224428769],
    [-114.07304314080713, 50.92187281629272],
    [-114.07283811128018, 50.92151395086831],
    [-114.0724733000897, 50.92159398255955],
    [-114.07235530346527, 50.92161986616115],
    [-114.07232547013312, 50.921551203484825],
    [-114.07224922627566, 50.92137571779116],
    [-114.07206289790658, 50.92102102807437],
    [-114.07206747600794, 50.920959035920184],
    [-114.07206689763474, 50.92095614128176],
    [-114.0720592916121, 50.920938624323746],
    [-114.07203489818946, 50.920861939328205],
    [-114.07202719421065, 50.92083767396354],
    [-114.07197843208984, 50.92068427080976],
    [-114.07151913765404, 50.919239926120824],
    [-114.07125996208251, 50.91842539757561],
    [-114.07124493775004, 50.918378210461704],
    [-114.07120348547038, 50.91824792669789],
    [-114.07118895145452, 50.918202195706556],
    [-114.07111184688057, 50.917879411180905],
    [-114.07102197082168, 50.91761920999131],
    [-114.07098497497603, 50.91740221975201],
    [-114.07076746528378, 50.91611414593055],
    [-114.07055327463495, 50.91504195423824],
    [-114.07052964597639, 50.91297894938599],
    [-114.07052824616437, 50.91285530636719],
    [-114.07052764718223, 50.91280314987392],
    [-114.07052896466018, 50.912724983175984],
    [-114.07053081656672, 50.9126178766371],
    [-114.07057247886796, 50.91018352193967],
    [-114.07047431646401, 50.90745111738815],
    [-114.07046780027524, 50.907269892918045],
    [-114.07046130540073, 50.90708915908751],
    [-114.07046044765772, 50.90706483365851],
    [-114.07045394958462, 50.90688462357796],
    [-114.07045346744415, 50.90687078049733],
    [-114.0704467798484, 50.90670294441216],
    [-114.07031441251127, 50.903375925015226],
    [-114.07031181590793, 50.903311074261765],
    [-114.0699341167462, 50.90336940750109],
    [-114.06968928297239, 50.90341719658785],
    [-114.06945917701879, 50.903456393732725],
    [-114.06865311156287, 50.9036070869093],
    [-114.06786062336653, 50.90376700522613],
    [-114.06673411318572, 50.904035594714465],
    [-114.06628590564847, 50.90415020827343],
    [-114.06605531336571, 50.90419839744367],
    [-114.06510149372475, 50.90443520826666],
    [-114.06341199588461, 50.90483350823399],
    [-114.06240019337095, 50.90508690195549],
    [-114.06235659090682, 50.905095694614204],
    [-114.06228709983691, 50.905113580503986],
    [-114.0621690170305, 50.90514399374279],
    [-114.06099869644557, 50.905429406524476],
    [-114.0583103885945, 50.90609919165386],
    [-114.05813709690949, 50.90613979292608],
    [-114.05685088949015, 50.90645821160346],
    [-114.05540100206916, 50.9066644026872],
    [-114.05518740345015, 50.90666800538337],
    [-114.05516748247044, 50.9065325905421],
    [-114.05507859416933, 50.90433558878896],
    [-114.05510318729596, 50.90101699333484],
    [-114.05506610602644, 50.899801689514206],
    [-114.05493260285182, 50.89966339691491],
    [-114.05466451602366, 50.899629701201874],
    [-114.05294208969111, 50.89964909776272],
    [-114.05295281688004, 50.898803905810205],
    [-114.05294189605303, 50.897850095507415],
    [-114.05289589378312, 50.89745319872428],
    [-114.05270219052863, 50.89714239360904],
    [-114.05240170270227, 50.89694599792529],
    [-114.05170179319886, 50.896766390103274],
    [-114.05030791543038, 50.89676709112091],
    [-114.049070211651, 50.89677179008183],
    [-114.04896217929382, 50.89667910055433],
    [-114.04897761915937, 50.89598690071021],
    [-114.04905372024221, 50.89545810884965],
    [-114.04835790783595, 50.89521560224285],
    [-114.04787564357234, 50.895186347096455],
    [-114.04759278842076, 50.895169190763255],
    [-114.04760700575248, 50.894270097448434],
    [-114.04760955960961, 50.89427022566262],
    [-114.04490510950602, 50.892639797448204],
    [-114.0449665802512, 50.892593385829976],
    [-114.0451816707074, 50.89243099917555],
    [-114.04747358359096, 50.89233280332072],
    [-114.04821821984544, 50.89225270743707],
    [-114.04912531531986, 50.89207770394872],
    [-114.04973529958431, 50.89187729407181],
    [-114.05029410038479, 50.89158559508899],
    [-114.0509331169706, 50.891151994840435],
    [-114.05132149113622, 50.890631098352955],
    [-114.05152139203247, 50.89016840979783],
    [-114.0515697106123, 50.88940500130373],
    [-114.05115560673772, 50.888306210783234],
    [-114.0494950289894, 50.88518737820873],
    [-114.04949039073007, 50.885178703842264],
    [-114.04943810159821, 50.884880608558625],
    [-114.04835580852311, 50.88310809708652],
    [-114.0477510021772, 50.88212195178513],
    [-114.04509488300413, 50.87779039459891],
    [-114.04491239233198, 50.87749361592031],
    [-114.04471494413615, 50.87717254182422],
    [-114.04519139282768, 50.87717269251429],
    [-114.04479557740076, 50.876523796267925],
    [-114.04427739378698, 50.875674390614996],
    [-114.044170101328, 50.87570080135952],
    [-114.04409561138247, 50.875670689256836],
    [-114.04403423915315, 50.87560883358881],
    [-114.04391391134065, 50.8754875106338],
    [-114.04337400295213, 50.87474670363645],
    [-114.0432062842183, 50.87471880018089],
    [-114.04238020834833, 50.87337573843953],
    [-114.04237982090328, 50.873375139650605],
    [-114.04000382368878, 50.869511704491686],
    [-114.03914340944301, 50.868284497061694],
    [-114.03777814419817, 50.86657238436473],
    [-114.03731322425854, 50.86598930763238],
    [-114.03303742029254, 50.860735710801634],
    [-114.03083969265077, 50.85803481534451],
    [-114.02412825781789, 50.84969481759576],
    [-114.02370020893683, 50.84916280073895],
    [-114.02352510723973, 50.84894369033594],
    [-114.0239194793287, 50.84883379383456],
    [-114.02413870460353, 50.848769389991155],
    [-114.02419420442688, 50.84875319136617],
    [-114.0243151121151, 50.848719203864945],
    [-114.02450690502617, 50.84868000548729],
    [-114.02469939557719, 50.848656794858336],
    [-114.02476409888213, 50.84864898879543],
    [-114.0248587035294, 50.84864338634791],
    [-114.0249140131523, 50.84864018834995],
    [-114.02508029446993, 50.848635905214046],
    [-114.02523131993048, 50.84863570714235],
    [-114.03603659037681, 50.8486267159041],
    [-114.03900806666559, 50.84862403319793],
    [-114.03990780444249, 50.84862320109249],
    [-114.04018090510182, 50.84862169009845],
    [-114.04046618860205, 50.8486186132982],
    [-114.04072641314703, 50.848614203275474],
    [-114.04112021041816, 50.848597793987445],
    [-114.04150170251717, 50.848567596702566],
    [-114.04188629321268, 50.84851970925842],
    [-114.042265383569, 50.84845399177498],
    [-114.042622382395, 50.8483750050129],
    [-114.0429739150548, 50.848278097812695],
    [-114.0433293861865, 50.848159592792236],
    [-114.04365699957654, 50.84803019108602],
    [-114.04397378891386, 50.84788451486182],
    [-114.04428217872211, 50.847724895010344],
    [-114.0445596169054, 50.84756730708191],
    [-114.04469540095137, 50.84748468972518],
    [-114.04485671628235, 50.847386291269075],
    [-114.04531110361627, 50.84710040031427],
    [-114.04779695466394, 50.84760328162591],
    [-114.05219340183903, 50.84849250171565],
    [-114.05213083127992, 50.84893022002841],
    [-114.05188815024049, 50.8501189528538],
    [-114.05134127021822, 50.85195904655668],
    [-114.05123579505712, 50.85229025457995],
    [-114.05085823606164, 50.85361891096551],
    [-114.0506044396399, 50.85440055968163],
    [-114.05055304679064, 50.8545589061569],
    [-114.05054536483699, 50.854582686317876],
    [-114.05048968903651, 50.85475514323432],
    [-114.05048177664253, 50.85477958173821],
    [-114.05012875813071, 50.855871680834895],
    [-114.0496937922984, 50.85719929212201],
    [-114.0496338855214, 50.85738210476665],
    [-114.04957827870666, 50.85755182107688],
    [-114.04951872697339, 50.85773358888253],
    [-114.04936420367049, 50.85810607396284],
    [-114.04929998072116, 50.858260493518635],
    [-114.0488916624551, 50.85924237535622],
    [-114.04805115703013, 50.86113125063139],
    [-114.04785837216167, 50.86156250339439],
    [-114.04766271730212, 50.86199202204567],
    [-114.0474902922011, 50.86239167871733],
    [-114.04720589230209, 50.86301099939429],
    [-114.0471635655054, 50.86312788272998],
    [-114.04710012715137, 50.86330322326832],
    [-114.0470732063842, 50.86340764678557],
    [-114.04690883228177, 50.86385759042094],
    [-114.04682493289077, 50.86493364516453],
    [-114.04693345068819, 50.86529645047031],
    [-114.04703749664992, 50.86563890601652],
    [-114.04705648293165, 50.865779268652545],
    [-114.04713532281491, 50.8660255522921],
    [-114.04748055006765, 50.86660093571543],
    [-114.04772278892835, 50.866922962267886],
    [-114.04795554006907, 50.8672282416458],
    [-114.04826563413059, 50.867528273335594],
    [-114.04837986538669, 50.86765935298009],
    [-114.04869943011752, 50.86797608201639],
    [-114.04982039458679, 50.868875946726064],
    [-114.05153251302707, 50.87002295049043],
    [-114.05302607640685, 50.8710316184444],
    [-114.05382248798978, 50.871552749239896],
    [-114.05468718071411, 50.87215896088604],
    [-114.05536197166616, 50.87278413829849],
    [-114.05632432586148, 50.873651525097856],
    [-114.05640458452356, 50.87376722961171],
    [-114.05682115442515, 50.87429719102819],
    [-114.05715608961354, 50.87490807759467],
    [-114.05722990755703, 50.8750905652156],
    [-114.05736925871878, 50.875433562221865],
    [-114.05770050500593, 50.876233855824935],
    [-114.05781247338145, 50.87650440072571],
    [-114.05792928535729, 50.876825125053195],
    [-114.05771660086607, 50.87705434482497],
    [-114.0576522176198, 50.87711998816926],
    [-114.05809121251028, 50.87726970052441],
    [-114.05816505321971, 50.87747241143706],
    [-114.05883070022037, 50.879275713598645],
    [-114.05900699163072, 50.87969357152887],
    [-114.05973428149899, 50.88164683381349],
    [-114.06066611064041, 50.88416031159459],
    [-114.06079612357226, 50.884448319643305],
    [-114.06090892892774, 50.88476169846378],
    [-114.06110080976181, 50.88520900623585],
    [-114.06122014937439, 50.88544894695143],
    [-114.06158624490773, 50.88612841280502],
    [-114.06189457534714, 50.886669157507164],
    [-114.06502560249129, 50.892177515437105],
    [-114.0651192713545, 50.89235083090531],
    [-114.06523392636058, 50.892562964312056],
    [-114.06524199469699, 50.892577894957576],
    [-114.06527670123042, 50.892642148960164],
    [-114.0656457794955, 50.8926416924583],
    [-114.06745551751375, 50.892651008743165],
    [-114.07238699541112, 50.892676391929825],
    [-114.07265979973394, 50.892674213657955],
    [-114.07265769509829, 50.892543694203],
    [-114.07609140938634, 50.89251391071279],
    [-114.07780221467192, 50.89236034677874],
    [-114.0793808831304, 50.89221860589301],
    [-114.08090590377549, 50.89216680971342],
    [-114.09394791861995, 50.89215960682556],
    [-114.09394812256579, 50.890489529943146],
    [-114.0950695234182, 50.8905432727337],
    [-114.09593796317309, 50.891204637467084],
    [-114.10539747628827, 50.89131709280109],
    [-114.11244617423148, 50.891247017009626],
    [-114.11465802222844, 50.88859938797475],
    [-114.11551828561475, 50.888554750990124],
    [-114.11414265547184, 50.886026506073094],
    [-114.11718708817638, 50.88478471080495],
    [-114.12684090533298, 50.88480699465681],
    [-114.12667728094289, 50.88811316839152],
    [-114.14031060000754, 50.8883843908436],
    [-114.14031820845082, 50.89171018678261],
    [-114.14026751446079, 50.89218000985223],
    [-114.15170071654335, 50.89219889533632],
    [-114.15683541366485, 50.892189189945846],
    [-114.16344801587663, 50.89219729312334],
    [-114.17616050291521, 50.892226886644345],
    [-114.18659769930571, 50.89225421206205],
    [-114.19838781155396, 50.89225010353921],
    [-114.20967988358946, 50.89227180080207],
    [-114.2096775057078, 50.89247799169501],
    [-114.20967330491241, 50.89283548865024],
    [-114.20965179046598, 50.91388280537221],
    [-114.20966696492064, 50.916177523880975],
    [-114.20971897235353, 50.916796244011294],
    [-114.20966797504438, 50.917021564764184],
    [-114.20974579722555, 50.91916015397643],
    [-114.20982577195693, 50.921358229286234],
    [-114.1861509399365, 50.921368773002456],
    [-114.18615001394367, 50.92136890463713],
    [-114.17316810072566, 50.921356011079354],
    [-114.16908850011926, 50.92135190201642],
    [-114.16338058824535, 50.92137510647036]]]},
 'id': '39'}

Below is what wonā€™t work despite the format looking identicalā€¦

notworking = {'type': 'Feature',
 'geometry': {'type': 'Polygon',
  'coordinates': [[[-113.51207149001048, 53.516168910937786],
    [-113.51207541341111, 53.51521580677884],
    [-113.51206371040911, 53.514253892378356],
    [-113.51206922327809, 53.51409200308067],
    [-113.5120645177256, 53.51324689861656],
    [-113.51206100317317, 53.512932300143795],
    [-113.5120523178991, 53.51227610836725],
    [-113.51205679748557, 53.51133199330504],
    [-113.51204558448217, 53.510379110024004],
    [-113.51204959035036, 53.509426003134514],
    [-113.51203897528919, 53.508482095198424],
    [-113.51202780727519, 53.507529292866764],
    [-113.5120322843948, 53.50658510735586],
    [-113.51488300947935, 53.50658809257169],
    [-113.51658678744916, 53.506579203012215],
    [-113.51656791870602, 53.50753269994958],
    [-113.51656398540528, 53.508485810845116],
    [-113.51939930131479, 53.508479986444094],
    [-113.51989912639851, 53.50852845778095],
    [-113.52007772308471, 53.50847470872449],
    [-113.52288379459539, 53.50848740947094],
    [-113.52311141599782, 53.508509598629296],
    [-113.52369569867055, 53.50844330071311],
    [-113.52451137767254, 53.50821019631433],
    [-113.52515671876128, 53.50900332615934],
    [-113.52522238519177, 53.50875270876196],
    [-113.52511980901109, 53.5082962885901],
    [-113.52527268915657, 53.50807729895532],
    [-113.52579951674278, 53.507805398554],
    [-113.52570589417095, 53.507753391608304],
    [-113.52634561501509, 53.507605104662424],
    [-113.52829261521396, 53.50737510262225],
    [-113.5302343077711, 53.5073068930487],
    [-113.53078839964853, 53.50724139806815],
    [-113.53120088290508, 53.507131048781574],
    [-113.53156051729091, 53.507165477547886],
    [-113.53206880968307, 53.50721409324833],
    [-113.53501768865722, 53.506081614822996],
    [-113.53560728052929, 53.50585329149511],
    [-113.53686879522283, 53.50560929951535],
    [-113.53804970510556, 53.50533390642469],
    [-113.53845418988651, 53.505289393534326],
    [-113.53909329067889, 53.50538371396502],
    [-113.54011269544631, 53.50578459094351],
    [-113.54049888501446, 53.505938201373745],
    [-113.54076582117612, 53.506112401984275],
    [-113.5409292991075, 53.50632470496037],
    [-113.54095830666402, 53.50655791202958],
    [-113.54092228783526, 53.506711507565036],
    [-113.54016149253684, 53.507860513767874],
    [-113.53992311417207, 53.50841410604512],
    [-113.53983859464002, 53.509018302716925],
    [-113.53991702529247, 53.51032930670778],
    [-113.53834869883877, 53.51033570835081],
    [-113.53838469802551, 53.51068560033314],
    [-113.53826949642767, 53.51102970060747],
    [-113.53719920107018, 53.512302196785505],
    [-113.5385490837996, 53.51267820328776],
    [-113.53812340574272, 53.51363130480286],
    [-113.53751421025527, 53.5142915910755],
    [-113.53727040554567, 53.51475530982913],
    [-113.53719660119309, 53.515539086911446],
    [-113.53695269771744, 53.51625460859758],
    [-113.53677548225156, 53.51783179482085],
    [-113.53648748839882, 53.51831449695571],
    [-113.54076996534567, 53.51877948049179],
    [-113.54082679314175, 53.518958755167404],
    [-113.54084403422466, 53.519013157770175],
    [-113.54156777619482, 53.52001375462452],
    [-113.54226192761658, 53.520772245364434],
    [-113.54396790256213, 53.52230041748982],
    [-113.54598502498426, 53.52373199995936],
    [-113.54798176543585, 53.524570582210046],
    [-113.5487400501163, 53.52473801995673],
    [-113.54876163242155, 53.524742777893046],
    [-113.54898396404118, 53.524846975822804],
    [-113.54922464093204, 53.52495976854195],
    [-113.54977083650012, 53.52521575786861],
    [-113.55057118618464, 53.525477425007736],
    [-113.55099480565706, 53.52574709961808],
    [-113.55198363899608, 53.526382351283665],
    [-113.552909925979, 53.52697758588008],
    [-113.55311815519116, 53.527111368104286],
    [-113.55332634470457, 53.52724515872203],
    [-113.55336491413377, 53.52726994367821],
    [-113.55448570352759, 53.52809116525493],
    [-113.5552017517423, 53.52870523796945],
    [-113.55547259270472, 53.52908371276264],
    [-113.55553129157227, 53.529165751425985],
    [-113.55557063799375, 53.52925434327382],
    [-113.55564894575066, 53.52943072343014],
    [-113.55603759046238, 53.53030579917431],
    [-113.55616751628705, 53.530959392246224],
    [-113.55602764075411, 53.53289547745979],
    [-113.5559249228281, 53.533194404960504],
    [-113.55514521788281, 53.53428103644321],
    [-113.55464797796898, 53.53479517695142],
    [-113.55393110159785, 53.53542189659941],
    [-113.55279916555209, 53.53617436620419],
    [-113.55263920579748, 53.53624097742423],
    [-113.55238819124921, 53.53634552989064],
    [-113.55213717531566, 53.53645008179601],
    [-113.5517979558903, 53.536591362644046],
    [-113.55121869579024, 53.53674758540278],
    [-113.54935500046689, 53.53712903009336],
    [-113.54817118273627, 53.537271163584805],
    [-113.54672519982108, 53.53731996786798],
    [-113.54428805002065, 53.537201041144485],
    [-113.54326838398562, 53.53706091561941],
    [-113.54178686906471, 53.536768726392],
    [-113.5398919282194, 53.53612567858752],
    [-113.53972926850052, 53.53607007429667],
    [-113.53953939703456, 53.536005173254665],
    [-113.53938684064597, 53.53595304859878],
    [-113.53919855159693, 53.535888697904056],
    [-113.53902628962784, 53.5357844294009],
    [-113.53857356645506, 53.53553331396771],
    [-113.5378307221097, 53.535225416545366],
    [-113.53726927643505, 53.5349226222428],
    [-113.53685208190541, 53.53476065400443],
    [-113.53605592168185, 53.53457075822892],
    [-113.5337279184508, 53.5334962517887],
    [-113.53121971037466, 53.532434473944825],
    [-113.5294349070188, 53.531860879950074],
    [-113.52798163387656, 53.5315319660536],
    [-113.525744737312, 53.530967861951545],
    [-113.5242021919305, 53.53065880796216],
    [-113.5235648971513, 53.530600319108785],
    [-113.52281888755239, 53.53049019595081],
    [-113.5223952999412, 53.53047217580043],
    [-113.52188725629303, 53.5304185008488],
    [-113.52158572980473, 53.53038666030121],
    [-113.52128418924757, 53.53035479425295],
    [-113.51772722993576, 53.529978965243345],
    [-113.5174295136905, 53.52994749935022],
    [-113.51712852905575, 53.52993052049267],
    [-113.51429531149056, 53.52977073185814],
    [-113.51164081460168, 53.52975054745389],
    [-113.51132198181406, 53.52974810205579],
    [-113.51158280890063, 53.52930370430204],
    [-113.51177358528876, 53.528978602219745],
    [-113.51274630696564, 53.527312800811174],
    [-113.51304239732403, 53.5268005941547],
    [-113.51298048714645, 53.526532507051506],
    [-113.5129632885561, 53.5263744084952],
    [-113.51303519306144, 53.526074907836794],
    [-113.51306649205458, 53.52582780066481],
    [-113.51306507769513, 53.52556179828342],
    [-113.51293888013595, 53.52521379123396],
    [-113.51277329283138, 53.52496550789448],
    [-113.5121193085935, 53.52436780727249],
    [-113.51202778821467, 53.52427648939501],
    [-113.51206021813034, 53.52413529495832],
    [-113.51173002178788, 53.52390850032195],
    [-113.51189561124833, 53.52381640924996],
    [-113.51195831767711, 53.5236879053202],
    [-113.5119878967551, 53.5229139885062],
    [-113.51199240840351, 53.52196989582515],
    [-113.51199469234713, 53.52098980532274],
    [-113.5119867886276, 53.52009080730974],
    [-113.51198811312118, 53.519092785967075],
    [-113.51210348070938, 53.518748699507775],
    [-113.51209848069291, 53.51815539664413],
    [-113.51209272143252, 53.51805660313172],
    [-113.51208209337604, 53.5171128136796],
    [-113.51207149001048, 53.516168910937786]]]},
 'id': '152'}

Iā€™ve tried swapping IDs around to see if that makes a difference and it hasnā€™t helped.

import pandas as pd
import plotly.express as px
testdata = pd.DataFrame(data={'id':[39,152],'data':[100,150]}, columns=['id','data'])

#Plug either 'working' or 'notworking' into geojson for both examples, default is on 'working'
fig = px.choropleth(df1, geojson=working,locations='id',color='data', scope='usa')
fig.update_layout(margin={"r":0,"t":0,"l":0,"b":0})
fig.update_geos(fitbounds='locations', visible=False)
pyo.plot(fig)

Iā€™ll do my best to answer any clarification questions. I really hope there is a simple fix and Iā€™m just misunderstanding something.

Thank you all in advance!

Iā€™m glad youā€™ve marked this as ā€œsolvedā€! Can you tell us how you did it? :slight_smile:

The issue fell within the scope parameter of the choropleth object.

By setting scope to ā€˜usaā€™ the bounds were being drawn around the coordinates of the United States vs North America. So in effect, some of my objects will draw because they exist within the bounds, yet the ones that fell too far north of the bounds wonā€™t draw leaving the screen blank.

fig = px.choropleth(df1, geojson=working,locations='id',color='data', scope='usa')

Simply changing my scope to ā€˜north americaā€™ it works for 151 out of 153 of my shapes.

fig = px.choropleth(df1, geojson=working,locations='id',color='data', scope='north america')

Now I need to figure out why those two objects wonā€™t draw in MultiPolygon form, but when I break out the single Polygons they draw just fine.