A while ago there was a thread for making diagrams like this to show the composition of your legislative assembly:
These diagrams (Slashme Diagrams) originate from Wikipedia and the script for creating them was programmed by a user called Slashme. Interested in making one yourself?
In the text box, type in the code as instructed: - Party name - Comma - Number of seats the party has - Comma - The hexidecimal code to show the colour you want the party to be (must have a # in front of it) - Semi-colon (except at the end) - Repeat for every other party
For example, the diagram above was created by entering this:
Socialist Party, 34, #660066; Labour Party, 171, #FF0000; Green Party, 69, #00FF00; Christian Democratic Party, 80, #FF9900; Reformist Party, 142, #0000FF; Free Republic Party, 40, #FFFF00; PDV, 64, #999999
Do not enter any speech marks as this messes it up!
Below is a (rather simplified) chart to show the hexidecimal codes for various colours:
Click Send, then click to load the SVG code, and load of code should appear. Copy it.
Open up Notepad (or some other simple text editor) and paste in the SVG code.
Save the code. In the Save dialogue box, change the "Save as Type" to All Files, not Text Document. Name it parliament.svg.
Now go onto this website or any other that converts SVG images to PNG format.
Click Browse and select the SVG file you have just saved. Select to convert it to PNG.
Click Submit and then save the file you produce (there's an option to preview it as well).
To allow it to be viewed on NationStates, upload it to an image hosting website.
Any problems? Post here. Also, you're welcome to post your created diagrams on this thread!
Posted: Sun Apr 15, 2012 8:10 am
by Radiatia
Ah good on you! I'm always having people ask me how it's done, and it's not an easy process to explain.
Nice one!
Posted: Sun Apr 15, 2012 9:07 am
by Luziyca
Nice job on explaining. I did that, saved it as a PNG file directly (after some tweaks), then uploaded it to NSWiki (after adding the parties). Yeah, I wanted to do one, for my puppet (Elbania). The difference, was that the number on mine was Times New Roman Bold, compared to (I think) Tahoma font. Anyways, other than the font difference, it was essentially the same.
Posted: Sun Apr 15, 2012 10:00 am
by Astralsideria
Thanks very much Mightily useful
Posted: Sun Apr 15, 2012 10:21 am
by Novaya Tselinoyarsk
Very useful, thanks.
Posted: Sun Apr 15, 2012 10:24 am
by Chinese Regions
Thankyou very much!
Posted: Sun Apr 15, 2012 10:33 am
by Azebo
Ah this is extremely useful. Thank you for creating it :3
Posted: Sun Apr 15, 2012 10:45 am
by Mount Shavano
ArghNeedAName wrote:A while ago there was a thread for making diagrams like this to show the composition of your legislative assembly:
You can see these diagrams (Slashme Diagrams) on Wikipedia as the tool for creating them was invented by a user called Slashme. Interested in making one yourself?
In the text box, type in the code as instructed: - Party name - Comma - Number of seats the party has - Comma - The hexidecimal code to show the colour you want the party to be (must have a # in front of it) - Semi-colon (except at the end) - Repeat for every other party
For example, the diagram above was created by entering this:
Socialist Party, 34, #660066; Labour Party, 171, #FF0000; Green Party, 69, #00FF00; Christian Democratic Party, 80, #FF9900; Reformist Party, 142, #0000FF; Free Republic Party, 40, #FFFF00; PDV, 64, #999999
Do not enter any speech marks as this messes it up!
Below is a (rather simplified) chart to show the hexidecimal codes for various colours:
Click Send, then click to load the SVG code, and load of code should appear. Copy it.
Open up Notepad (or some other simple text editor) and paste in the SVG code.
Save the code. In the Save dialogue box, change the "Save as Type" to All Files, not Text Document. Name it parliament.svg.
Now go onto this website or any other that converts SVG images to PNG format.
Click Browse and select the SVG file you have just saved. Select to convert it to PNG.
Click Submit and then save the file you produce (there's an option to preview it as well).
To allow it to be viewed on NationStates, upload it to an image hosting website.
Any problems? Post here.
You, sir, are a credit to the board.
Posted: Sun Apr 15, 2012 11:57 am
by North Europa
Thank you very much. It is very useful
Posted: Sun Apr 15, 2012 12:07 pm
by Greater Mackonia
You win 5 Internets.
Posted: Sun Apr 15, 2012 12:11 pm
by Delgrae
I was always wondering how to do this.
Posted: Sun Apr 15, 2012 2:21 pm
by TurtleShroom
Words can not describe how useful this wll be to me.
Posted: Mon Apr 16, 2012 2:35 am
by New Hayesalia
Are you a wizard?
Posted: Tue Apr 17, 2012 3:49 pm
by Lancov
Awesome!
Posted: Tue Apr 17, 2012 3:58 pm
by Sailsia
NICE! Thanks for the guide and links
Posted: Wed Apr 18, 2012 2:24 pm
by Arkiasis
Thanks a lot and great job.
Here's my result.
Posted: Wed Apr 18, 2012 2:49 pm
by Urcea
Posted: Thu Apr 19, 2012 3:38 pm
by North Mexico
That's cute. TAG
Posted: Thu Apr 19, 2012 4:10 pm
by SquareDisc City
Hey, this is pretty cool. Unfortunately it's not much good for me right now because my legislature has just 40 members! However, one of the parties would like to increase that, so if they do then I might want something like that.
Posted: Thu Apr 19, 2012 5:25 pm
by Dainer
Hmm, I like that one. I should try my hand at it very soon.
Posted: Thu Apr 19, 2012 5:30 pm
by Galonica
Tag. I'll to do one of these at some point.
Posted: Thu Apr 19, 2012 5:31 pm
by Eeri
tag, useful information, right now not working so well for me gotta really figure this out.
Posted: Thu Apr 19, 2012 5:46 pm
by Holy Trek
ArghNeedAName wrote:A while ago there was a thread for making diagrams like this to show the composition of your legislative assembly:
You can see these diagrams (Slashme Diagrams) on Wikipedia as the tool for creating them was invented by a user called Slashme. Interested in making one yourself?
In the text box, type in the code as instructed: - Party name - Comma - Number of seats the party has - Comma - The hexidecimal code to show the colour you want the party to be (must have a # in front of it) - Semi-colon (except at the end) - Repeat for every other party
For example, the diagram above was created by entering this:
Socialist Party, 34, #660066; Labour Party, 171, #FF0000; Green Party, 69, #00FF00; Christian Democratic Party, 80, #FF9900; Reformist Party, 142, #0000FF; Free Republic Party, 40, #FFFF00; PDV, 64, #999999
Do not enter any speech marks as this messes it up!
Below is a (rather simplified) chart to show the hexidecimal codes for various colours: