Skip to content

Instantly share code, notes, and snippets.

@jekkilekki jekkilekki/data.xml
Last active Jan 14, 2017

Embed
What would you like to do?
D3 Data Visualization data
<?xml version="1.0" encoding="utf-8"?>
<data>
<dat id='1990'><top>82</top><middle>5</middle><bottom>9</bottom></dat>
<dat id='1991'><top>47</top><middle>91</middle><bottom>11</bottom></dat>
<dat id='1991'><top>48</top><middle>60</middle><bottom>11</bottom></dat>
<dat id='1992'><top>61</top><middle>96</middle><bottom>97</bottom></dat>
<dat id='1993'><top>40</top><middle>13</middle><bottom>9</bottom></dat>
<dat id='1994'><top>99</top><middle>32</middle><bottom>23</bottom></dat>
<dat id='1995'><top>93</top><middle>7</middle><bottom>37</bottom></dat>
<dat id='1996'><top>62</top><middle>41</middle><bottom>95</bottom></dat>
<dat id='1997'><top>20</top><middle>69</middle><bottom>64</bottom></dat>
<dat id='1998'><top>24</top><middle>77</middle><bottom>85</bottom></dat>
<dat id='1999'><top>59</top><middle>98</middle><bottom>69</bottom></dat>
<dat id='2000'><top>48</top><middle>20</middle><bottom>25</bottom></dat>
<dat id='2001'><top>22</top><middle>1</middle><bottom>67</bottom></dat>
<dat id='2002'><top>61</top><middle>70</middle><bottom>70</bottom></dat>
<dat id='2003'><top>22</top><middle>68</middle><bottom>66</bottom></dat>
<dat id='2004'><top>50</top><middle>76</middle><bottom>7</bottom></dat>
<dat id='2005'><top>63</top><middle>22</middle><bottom>32</bottom></dat>
<dat id='2006'><top>31</top><middle>28</middle><bottom>45</bottom></dat>
<dat id='2007'><top>78</top><middle>55</middle><bottom>90</bottom></dat>
<dat id='2008'><top>40</top><middle>5</middle><bottom>3</bottom></dat>
<dat id='2009'><top>24</top><middle>81</middle><bottom>85</bottom></dat>
<dat id='2010'><top>58</top><middle>81</middle><bottom>85</bottom></dat>
<dat id='2011'><top>19</top><middle>74</middle><bottom>10</bottom></dat>
<dat id='2012'><top>87</top><middle>15</middle><bottom>57</bottom></dat>
<dat id='2013'><top>34</top><middle>9</middle><bottom>6</bottom></dat>
<dat id='2014'><top>12</top><middle>10</middle><bottom>92</bottom></dat>
<dat id='2015'><top>5</top><middle>45</middle><bottom>16</bottom></dat>
<dat id='2016'><top>29</top><middle>51</middle><bottom>48</bottom></dat>
</data>
[
{
"name": "Top Level",
"parent": "null",
"children": [
{
"name": "Level 2: A",
"parent": "Top Level",
"children": [
{
"name": "Son of A",
"parent": "Level 2: A"
},
{
"name": "Daughter of A",
"parent": "Level 2: A"
}
]
},
{
"name": "Level 2: B",
"parent": "Top Level"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.