Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
tree-mapを使用してデータを視覚化したいと考えています。キーと値を持つ辞書があります。値を表すブロックの領域とキー/ラベルを表す色を使用して、Pythonでそれを行うにはどうすればよいですか。ここで同様の質問を見ました。
しかし、受け入れられた回答で提供されたリンクは、ツリーマップをツリーにプロットします。
私が持っている辞書の例は次のとおりです。{apple:1,mango:0.5,orange:0.5}
{apple:1,mango:0.5,orange:0.5}