test
This example visualizes the fictional Hogwarts student dataset from the Palmer Penguins-derived template, plotting the distribution of student hobbies across four houses and seven school years. The visualization uses a stacked bar chart, with each bar representing a school year and segments colored by hobby, encoded via the d3-scale-chromatic categorical color scheme. The chart highlights the frequency of each hobby, such as Wizard chess and Potion brewing, across houses and years, emphasizing patterns like the prevalence of Magical creatures in Gryffindor or the concentration of Wizard chess among second-years. The author demonstrates how to parse categorical and quantitative fields—Roll Num as a number, Year as a quantitative axis—and map them to visual channels. The original data is attributed to the Harry Potter fandom and is licensed under MIT.
AI-generated descriptionThe Penguins Dataset, loaded and parsed as CSV.
Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:
- Fork this viz
- Clear out the README
- Update the README with details about your dataset (including original source)
- Replace
data.csvwith your own data - Replace the parsing logic in
index.jswith your own - Set the custom URL so you can import from it easily
Challenge
- Find 3 datasets on a topic you are interested in
- For each of those, fork this viz and replace the data
- Parse the quantitative attributes into numbers
- Update
README.mdto indicate the original data source