Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Salary by Job Title and Country Dataset

Public visualization

Viewing a saved revision (read-only)

c782b10ef13345b6af15957ccc437659

Salary by Job Title and Country Dataset

0 stars1🌍 Public
Sste.jendritz@gmail.com
Last edited Sep 12, 2024
Created on Sep 7, 2024

This example visualizes the first record of a salary dataset from Kaggle, displaying a single employee's attributes—age, gender, education level, job title, experience, salary, country, race, and seniority—as a JSON object in a large monospaced `<pre>` block. The code loads the CSV file with a default import from `./data.csv`, converts numeric fields using unary `+` operators, and then uses `JSON.stringify` to format the data for display. The visualization relies entirely on DOM manipulation through `container.innerHTML`, with no additional charting libraries.

AI-generated description

The 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.csv with your own data
  • Replace the parsing logic in index.js with 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.md to indicate the original data source