Diskussion:Gjurakoc
Säulendiagramm statt Tortendiagramm
Hallo Fossa, das Tortendiagram in #Ethnien ist in dieser Form ungeeignet, weil die Zahlen nicht lesbar sind. Vorschlagsweise aus den vorhandenen Vorlagen verwenden: Säulendiagramm mit Werteausgabe außerhalb der Säulen (Mustercodierung):
{{Graph:Chart|width=400|height=100|type=rect|x=1,2,3,4,5,8,9,10|y=10, 12, 6, 14, 2, 10, 7, 9|showValues=offset:4}}
<graph>{"legends":[],"scales":[{"type":"ordinal","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"padding":0.2,"range":"width","nice":true},{"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"zero":true,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":"category10"}],"version":2,"marks":[{"type":"rect","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"series"}},"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"y2":{"scale":"y","value":0},"width":{"scale":"x","offset":-1,"band":true},"fill":{"scale":"color","field":"series"}}},"from":{"data":"chart"}},{"type":"text","properties":{"enter":{"baseline":{"value":"middle"},"align":{"value":"left"},"text":{"field":"y"},"y":{"scale":"y","offset":-4,"field":"y"},"dy":{"scale":"x","mult":0.5,"band":true},"x":{"scale":"x","field":"x"},"angle":{"value":-90},"fontSize":{"value":11},"fill":{"value":"#54595d"}}},"from":{"data":"chart"}}],"height":100,"axes":[{"type":"x","scale":"x","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":false},{"type":"y","scale":"y","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":false}],"data":[{"format":{"parse":{"y":"integer","x":"integer"},"type":"json"},"name":"chart","values":[{"y":10,"series":"y","x":1},{"y":12,"series":"y","x":2},{"y":6,"series":"y","x":3},{"y":14,"series":"y","x":4},{"y":2,"series":"y","x":5},{"y":10,"series":"y","x":8},{"y":7,"series":"y","x":9},{"y":9,"series":"y","x":10}]}],"width":400}</graph> Bitte schau mal. Gruß, --Wi-luc-ky (Diskussion) 23:49, 2. Mär. 2021 (CET)
- So so. --Wi-luc-ky (Diskussion) 01:29, 4. Mär. 2021 (CET)
- Hai @Wi-luc-ky:. Die Werte sind ja alle im Fließtext genannt, man könnte sie also getrost im Diagramm unterdrücken. Wäre Dir das ästhetisch lieber? Ein Tortendiagramm passt halt besser, wenn man eine Gesamtbevölkerung abbildet. --fossa net ?! 17:32, 3. Mär. 2021 (CET)
- Tortendiagramme schmecken mir gut, Fossa, die derzeitigen umseitig sind aber imho in dieser Form ungenießbar, weil etwa beim ersten Diagramm die vier kleinsten Werte derartig klein sind, dass – mit oder ohne Beschriftung – kaum ein sichtbares Tortenstück erkennbar ist.
- Hier mal die veränderte Auslage der Konditorei, Zahlen außerhalb, Form: sog. explodierende Torte, variabel:
- Ethnien
<graph>{"legends":[{"properties":{"legend":{"y":{"value":-100}},"title":{"fill":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"stroke":"color","title":"Selbstidentifikation der Dorfbewohner bei der Volkszählung 2011","fill":"color"}],"scales":[{"domain":{"data":"chart","field":"x"},"type":"ordinal","name":"color","range":"category10"},{"range":[0,100],"type":"linear","name":"r","domain":{"data":"chart","field":"r"}},{"type":"quantize","name":"align","domainMax":6.283185307179586,"domainMin":0,"range":["left","right"]}],"version":2,"marks":[{"type":"arc","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"x"}},"enter":{"endAngle":{"field":"layout_end"},"innerRadius":{"value":0},"outerRadius":{"scale":"r","field":"r"},"startAngle":{"field":"layout_start"},"stroke":{"value":"white"},"fill":{"scale":"color","field":"x"},"strokeWidth":{"value":1}}},"from":{"data":"chart","transform":[{"type":"pie","field":"y"}]}},{"type":"text","properties":{"enter":{"theta":{"field":"layout_mid"},"baseline":{"value":"middle"},"align":{"scale":"align","field":"layout_mid"},"text":{"field":"y"},"y":{"group":"height","mult":0.5},"x":{"group":"width","mult":0.5},"fontSize":{"value":10},"angle":{"value":0},"radius":{"scale":"r","offset":4,"field":"r"},"fill":{"value":"#54595d"}}},"from":{"data":"chart","transform":[{"field":"y","type":"pie"}]}}],"height":100,"axes":[],"data":[{"format":{"parse":{"y":"integer","x":"string","r":"integer"},"type":"json"},"name":"chart","values":[{"y":2014,"x":"Albaner/Kosovo-Albaner","r":5},{"y":107,"x":"Balkan-Ägypter","r":30},{"y":39,"x":"Bosniaken","r":25},{"y":22,"x":"Serben","r":20},{"y":12,"x":"Aschkali","r":15},{"y":15,"x":"Sonstige","r":10}]}],"width":100}</graph>
<graph>{"legends":[{"properties":{"legend":{"y":{"value":-100}},"title":{"fill":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"stroke":"color","title":"Selbstidentifikation der Dorfbewohner*innen bei der Volkszählung 2011","fill":"color"}],"scales":[{"domain":{"data":"chart","field":"x"},"type":"ordinal","name":"color","range":"category10"},{"range":[0,100],"type":"linear","name":"r","domain":{"data":"chart","field":"r"}},{"type":"quantize","name":"align","domainMax":6.283185307179586,"domainMin":0,"range":["left","right"]}],"version":2,"marks":[{"type":"arc","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"x"}},"enter":{"endAngle":{"field":"layout_end"},"innerRadius":{"value":0},"outerRadius":{"scale":"r","field":"r"},"startAngle":{"field":"layout_start"},"stroke":{"value":"white"},"fill":{"scale":"color","field":"x"},"strokeWidth":{"value":1}}},"from":{"data":"chart","transform":[{"type":"pie","field":"y"}]}},{"type":"text","properties":{"enter":{"theta":{"field":"layout_mid"},"baseline":{"value":"middle"},"align":{"scale":"align","field":"layout_mid"},"text":{"field":"y"},"y":{"group":"height","mult":0.5},"x":{"group":"width","mult":0.5},"fontSize":{"value":10},"angle":{"value":0},"radius":{"scale":"r","offset":4,"field":"r"},"fill":{"value":"#54595d"}}},"from":{"data":"chart","transform":[{"field":"y","type":"pie"}]}}],"height":100,"axes":[],"data":[{"format":{"parse":{"y":"integer","x":"string","r":"integer"},"type":"json"},"name":"chart","values":[{"y":2014,"x":"Albaner/Kosovo-Albaner","r":5},{"y":107,"x":"Balkan-Ägypter","r":10},{"y":39,"x":"Bosniaken","r":15},{"y":22,"x":"Serben","r":20},{"y":12,"x":"Aschkali","r":25},{"y":15,"x":"Sonstige","r":30}]}],"width":100}</graph>
<graph>{"legends":[{"properties":{"legend":{"y":{"value":-100}},"title":{"fill":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"stroke":"color","title":"Selbstidentifikation der Dorfbewohner*innen bei der Volkszählung 2011","fill":"color"}],"scales":[{"domain":{"data":"chart","field":"x"},"type":"ordinal","name":"color","range":"category10"},{"range":[0,100],"type":"linear","name":"r","domain":{"data":"chart","field":"r"}},{"type":"quantize","name":"align","domainMax":6.283185307179586,"domainMin":0,"range":["left","right"]}],"version":2,"marks":[{"type":"arc","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"x"}},"enter":{"endAngle":{"field":"layout_end"},"innerRadius":{"value":0},"outerRadius":{"scale":"r","field":"r"},"startAngle":{"field":"layout_start"},"stroke":{"value":"white"},"fill":{"scale":"color","field":"x"},"strokeWidth":{"value":1}}},"from":{"data":"chart","transform":[{"type":"pie","field":"y"}]}},{"type":"text","properties":{"enter":{"theta":{"field":"layout_mid"},"baseline":{"value":"middle"},"align":{"scale":"align","field":"layout_mid"},"text":{"field":"y"},"y":{"group":"height","mult":0.5},"x":{"group":"width","mult":0.5},"fontSize":{"value":10},"angle":{"value":0},"radius":{"scale":"r","offset":4,"field":"r"},"fill":{"value":"#54595d"}}},"from":{"data":"chart","transform":[{"field":"y","type":"pie"}]}}],"height":100,"axes":[],"data":[{"format":{"parse":{"y":"integer","x":"string","r":"integer"},"type":"json"},"name":"chart","values":[{"y":2014,"x":"Albaner/Kosovo-Albaner","r":10},{"y":107,"x":"Balkan-Ägypter","r":15},{"y":39,"x":"Bosniaken","r":20},{"y":22,"x":"Serben","r":25},{"y":12,"x":"Aschkali","r":30},{"y":15,"x":"Sonstige","r":35}]}],"width":100}</graph>
- Religionen
<graph>{"legends":[{"properties":{"legend":{"y":{"value":-100}},"title":{"fill":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"stroke":"color","title":"Religion der Einwohner laut Volkszählung 2011","fill":"color"}],"scales":[{"domain":{"data":"chart","field":"x"},"type":"ordinal","name":"color","range":"category10"},{"range":[0,100],"type":"linear","name":"r","domain":{"data":"chart","field":"r"}},{"type":"quantize","name":"align","domainMax":6.283185307179586,"domainMin":0,"range":["left","right"]}],"version":2,"marks":[{"type":"arc","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"x"}},"enter":{"endAngle":{"field":"layout_end"},"innerRadius":{"value":0},"outerRadius":{"scale":"r","field":"r"},"startAngle":{"field":"layout_start"},"stroke":{"value":"white"},"fill":{"scale":"color","field":"x"},"strokeWidth":{"value":1}}},"from":{"data":"chart","transform":[{"type":"pie","field":"y"}]}},{"type":"text","properties":{"enter":{"theta":{"field":"layout_mid"},"baseline":{"value":"middle"},"align":{"scale":"align","field":"layout_mid"},"text":{"field":"y"},"y":{"group":"height","mult":0.5},"x":{"group":"width","mult":0.5},"fontSize":{"value":10},"angle":{"value":0},"radius":{"scale":"r","offset":4,"field":"r"},"fill":{"value":"#54595d"}}},"from":{"data":"chart","transform":[{"field":"y","type":"pie"}]}}],"height":100,"axes":[],"data":[{"format":{"parse":{"y":"integer","x":"string","r":"integer"},"type":"json"},"name":"chart","values":[{"y":1721,"x":"muslimisch","r":10},{"y":465,"x":"katholisch","r":15},{"y":23,"x":"serbisch-orthodox","r":20},{"y":0,"x":"atheistisch/agnostisch","r":25},{"y":0,"x":"sonstige","r":30}]}],"width":100}</graph>
- Unter Weglassung der zwei 0-Werte
<graph>{"legends":[{"properties":{"legend":{"y":{"value":-100}},"title":{"fill":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"stroke":"color","title":"Religion der Einwohner laut Volkszählung 2011","fill":"color"}],"scales":[{"domain":{"data":"chart","field":"x"},"type":"ordinal","name":"color","range":"category10"},{"range":[0,100],"type":"linear","name":"r","domain":{"data":"chart","field":"r"}},{"type":"quantize","name":"align","domainMax":6.283185307179586,"domainMin":0,"range":["left","right"]}],"version":2,"marks":[{"type":"arc","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"x"}},"enter":{"endAngle":{"field":"layout_end"},"innerRadius":{"value":0},"outerRadius":{"scale":"r","field":"r"},"startAngle":{"field":"layout_start"},"stroke":{"value":"white"},"fill":{"scale":"color","field":"x"},"strokeWidth":{"value":1}}},"from":{"data":"chart","transform":[{"type":"pie","field":"y"}]}},{"type":"text","properties":{"enter":{"theta":{"field":"layout_mid"},"baseline":{"value":"middle"},"align":{"scale":"align","field":"layout_mid"},"text":{"field":"y"},"y":{"group":"height","mult":0.5},"x":{"group":"width","mult":0.5},"fontSize":{"value":10},"angle":{"value":0},"radius":{"scale":"r","offset":4,"field":"r"},"fill":{"value":"#54595d"}}},"from":{"data":"chart","transform":[{"field":"y","type":"pie"}]}}],"height":100,"axes":[],"data":[{"format":{"parse":{"y":"integer","x":"string","r":"integer"},"type":"json"},"name":"chart","values":[{"y":1721,"x":"muslimisch","r":10},{"y":465,"x":"katholisch","r":15},{"y":23,"x":"serbisch-orthodox","r":20},{"x":"atheistisch/agnostisch"},{"x":"sonstige"}]}],"width":100}</graph>
- Erst mal so viel Süßkram. Bitte zugreifen. Gruß, --Wi-luc-ky (Diskussion) 01:29, 4. Mär. 2021 (CET)
- gudn tach!
- @Wi-luc-ky: das ist zwar graphisch sehr nett. aber gerade bei der religion wird ein problem deutlich, bei kreisdiagrammen wird ja unweigerlich die flaeche gedanklich als anhaltspunkt genommen (und nicht der oeffnungswinkel der segmente), wenn nun aber tortenstuecke skaliert werden, sind die flaechen nicht mehr vergleichbar. im konkreten fall sieht es so aus, als seien die katholiken sehr viele (fast die haelfte, zumindest ein drittel).
- ich wuerde deswegen ganz auf das diagramm verzichten und nur die werte tabellarisch angeben. es geht um 5 bzw. 6 werte. die kann man auch ganz ohne grafik leicht verarbeiten. -- seth 13:50, 10. Aug. 2022 (CEST)
- Erst mal so viel Süßkram. Bitte zugreifen. Gruß, --Wi-luc-ky (Diskussion) 01:29, 4. Mär. 2021 (CET)
- Hallo seth, Du hast völlig recht, was die Grafik der Religionen angeht, und werde mal sehen, ob sich die herausgezogenen Stücke verkürzen lassen, damit es nicht zu derartigen Disproportionen kommt. Einige Entwürfe oben hatte ich vmtl. aus selbigem Grund schon damals verworfen. Notfalls eben Tabelle.
- Bei den Ethnien kann sicher darauf vertraut werden, dass die Leserschaft eher auf die schematische Absicht und v. a. auf die Zahlen als auf die Flächen schaut, oder nicht?
- Erwachsen waren die Diagramme einer gänzlich unleserlichen Darstellung, die ersetzt werden sollte. Jetzt ist es lesbar, aber zugegebenermaßen missdeutbar.
- Gruß, --Wi-luc-ky (Diskussion) 14:49, 10. Aug. 2022 (CEST)
- Hallo seth, die beiden Problem dürften damit behoben sein. Gruß, --Wi-luc-ky (Diskussion) 17:01, 10. Aug. 2022 (CEST)
- gudn tach!
- ja, damit waere es behoben, wenn man denn unbedingt ein kreisdiagramm da haben will. :-)
- persoenlich glaube ich immer noch, dass hier eine simple tabelle schneller erfassbar waere (und auch fuer farbenblinde geeigneter waere). beim kreisdiagramm sehe ich hier keinen vorteil. -- seth 19:19, 10. Aug. 2022 (CEST)
- Hallo seth, die beiden Problem dürften damit behoben sein. Gruß, --Wi-luc-ky (Diskussion) 17:01, 10. Aug. 2022 (CEST)