Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan
Preferred Visualization Tools
00:00
5 left

Preferred Visualization Tools

EasySQL · PostgreSQL

Problem

What specific tools or technologies do you prefer for data visualization, and why?

Translate the preference evidence into a ranked SQL result using the available tool and feedback records. Include tools without feedback so the output distinguishes established preferences from tools with no supporting ratings.

Output

  1. One row per visualization tool with tool_name, tool_category, feedback_count, average_rating, preference_reasons, and preference_rank
  2. Include every tool, preserve NULL averages for tools without ratings, and concatenate non-NULL reasons chronologically
  3. Sort by preference rank, then tool name alphabetically; tied and unrated tools share ranks

Schema

visualization_tools
ColumnTypeDescription
tool_idPKINTUnique visualization tool identifier
tool_nameVARCHAR(100)Name of the visualization tool
tool_categoryVARCHAR(50)General category of the tool
visualization_feedback
ColumnTypeDescription
feedback_idPKINTUnique feedback identifier
tool_idINTReferenced visualization tool
ratingINTPreference rating from 1 to 5
reasonVARCHAR(255)Reason supporting the rating
submitted_atDATEDate feedback was submitted
Tablesvisualization_toolsvisualization_feedback
Interviewer

Your question is Preferred Visualization Tools. Start with the requirements and the two tables in the Question tab.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.
CodePostgreSQL
Sign up free to run your codeLog inLn 1
Run your query to see results here.