prompt stringlengths 249 1.08k | completion stringlengths 32 103 |
|---|---|
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Name || Manufacturer || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Years_Played || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || name || NONE || NONE || COUNT |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
If invalid: REFUSE: <reason>
If incomplete: CLARIFY: <question>
Schema:
Table: sakila_1
Columns: actor_id, first_name, last_name, last_update, address_id, address, address2, district, city_id, postal... | CLARIFY: Please specify columns and chart type |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Headquarter || Revenue || NONE || MAX |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || Citizenship || Net_Worth_Millions || NONE || MAX |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Category || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || director || stars || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || transaction_type || NONE || NONE || COUNT |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
If invalid: REFUSE: <reason>
If incomplete: CLARIFY: <question>
Schema:
Table: pilot_record
Columns: Aircraft_ID, Order_Year, Manufacturer, Model, Fleet_Series, Powertrain, Fuel_Propulsion, Pilot_ID,... | REFUSE: Column 'fake_data' does not exist in schema |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Manager_Name || NONE || NONE || COUNT |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
If invalid: REFUSE: <reason>
If incomplete: CLARIFY: <question>
Schema:
Table: architecture
Columns: id, name, nationality, gender, architect_id, id, name, location, length_meters, length_feet
Reque... | CLARIFY: Please specify columns and chart type |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | scatter || id || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || product_category || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Position || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Nationality || meter_100 || NONE || AVG |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || JOB_ID || MANAGER_ID || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Date_Claim_Made || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Name || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || brand || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || facility_code || NONE || NONE || COUNT |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: hr_1
Columns: EMPLOYEE_ID, DEPARTMENT_NAME, PHONE_NUMBER, STATE_PROVINCE, DEPARTMENT_ID, LAST_NAME, CITY, REGION_NAME, LOCATION_ID, JOB_TITLE
Request: What's the average CITY?
Chart ... | bar || CITY || NONE || NONE || AVG |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Name || Revenue || NONE || MAX |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || PetType || weight || NONE || MAX |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || District || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | scatter || Editor_ID || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || booking_start_date || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | line || Date_in_Locaton_To || NONE || b || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || All_Home || Team_ID || NONE || AVG |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | scatter || SALARY || MANAGER_ID || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || languages || rating || NONE || AVG |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Competition_type || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Country || NONE || NONE || COUNT |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
If invalid: REFUSE: <reason>
If incomplete: CLARIFY: <question>
Schema:
Table: gymnast
Columns: Gymnast_ID, Floor_Exercise_Points, Pommel_Horse_Points, Rings_Points, Vault_Points, Parallel_Bars_Point... | CLARIFY: Please specify columns and chart type |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || PetType || pet_age || NONE || MAX |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
If invalid: REFUSE: <reason>
If incomplete: CLARIFY: <question>
Schema:
Table: cre_Doc_Tracking_DB
Columns: Document_Type_Code, Document_Type_Name, Document_Type_Description, Calendar_Date, Day_Numbe... | CLARIFY: Please specify columns and chart type |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || treatment_type_description || cost_of_treatment || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: university_basketball
Columns: ACC_Percent, Team_ID, Enrollment, Team_N... | heatmap || Team_Name || All_Games_Percent || NONE || AVG |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || result || NONE || NONE || COUNT |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
If invalid: REFUSE: <reason>
If incomplete: CLARIFY: <question>
Schema:
Table: student_1
Columns: LastName, FirstName, Grade, Classroom, LastName, FirstName, Classroom
Request: Show xyz_column by ti... | REFUSE: Column 'xyz_column' does not exist in schema |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || course_name || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Affiliation || Enrollment || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Type || Enrollment || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || HIRE_DATE || SALARY || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || organization_details || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Name || Damage_millions_USD || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || HIRE_DATE || SALARY || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || name || age || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | scatter || Code || Manufacturer || CD drive || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | line || year || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: world_1
Columns: ID, Name, CountryCode, District, Population, name, seq... | pie || name || District || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: epinions_1
Columns: source_u_id, i_id, trust, rating, a_id, u_id, title... | histogram || source_u_id || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || Headquartered_City || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || Continent || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Phone || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || EMP_HIREDATE || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || Author || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Date || Vote_Percent || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || card_type_code || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: customers_and_products_contacts
Columns: address_id, line_1_number_buil... | bar || city || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || JOB_TITLE || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || name || age || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | line || year || attendance || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Nationality || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: activity_1
Columns: Lname, Advisor, city_code, FacID, Phone, Fname, Bui... | boxplot || city_code || Room || NONE || NONE |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
If invalid: REFUSE: <reason>
If incomplete: CLARIFY: <question>
Schema:
Table: company_employee
Columns: People_ID, Age, Name, Nationality, Graduation_College, Company_ID, Name, Headquarters, Industr... | REFUSE: Column 'nonexistent' does not exist in schema |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: department_management
Columns: Department_ID, Ranking, Num_Employees, d... | area || born_state || Budget_in_Billions || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Result || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Name || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || JOB_ID || DEPARTMENT_ID || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Left_office || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Founder || Revenue || NONE || AVG |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || STU_FNAME || STU_GPA || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: university_basketball
Columns: ACC_Percent, Team_ID, Enrollment, Team_N... | histogram || School || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || organisation_details || organisation_id || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | scatter || Shop_ID || Employee_ID || NONE || NONE |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
If invalid: REFUSE: <reason>
If incomplete: CLARIFY: <question>
Schema:
Table: singer
Columns: Singer_ID, Name, Birth_Year, Net_Worth_Millions, Citizenship, Song_ID, Title, Singer_ID, Sales, Highest_... | REFUSE: Column 'nonexistent' does not exist in schema |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || date || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || dorm_name || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || outcome_description || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | scatter || address_id || monthly_rental || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: hr_1
Columns: EMPLOYEE_ID, DEPARTMENT_NAME, PHONE_NUMBER, STATE_PROVINC... | area || DEPARTMENT_NAME || MIN_SALARY || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || name || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | scatter || Team_ID || School_ID || Clemson || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || Store_Name || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: insurance_policies
Columns: Customer_ID, Customer_Details, Policy_ID, C... | scatter || Customer_ID || Customer_Details || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | pie || customer_status_code || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || transaction_type || transaction_amount || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || LAST_NAME || MANAGER_ID || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: hr_1
Columns: EMPLOYEE_ID, DEPARTMENT_NAME, PHONE_NUMBER, STATE_PROVINC... | pie || JOB_TITLE || DEPARTMENT_NAME || NONE || AVG |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || JOB_ID || DEPARTMENT_ID || NONE || SUM |
You are a data visualization assistant.
Output format: CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Schema:
Table: protein_institute
Columns: Years_as_tallest, common_name, Institution, divergence_from_human_lineage, Floors, Enrollment, Type, Street_address, protein_name, Team
Request: Show Ins...... | CLARIFY: Did you mean 'Institution_id'? Please confirm the column name |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || name || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || date_of_completion || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || title || stars) || NONE || MIN |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || JOB_ID || MANAGER_ID || NONE || SUM |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Headquarter || Price || NONE || AVG |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Name || Age || NONE || NONE |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | line || installation_date || NONE || NONE || COUNT |
You are a data visualization assistant. Given a database schema and a natural language request, output a chart specification.
Output format (5 fields separated by ||):
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid CHART_TYPES: bar, line, pie, scatter, histogram, heatmap, area, boxplot
Valid AG... | bar || Grape || NONE || NONE || COUNT |
End of preview. Expand in Data Studio
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
DataViz-99: NL2VIS Dataset Card
Dataset Description
DataViz-99 is a closed-label instruction-tuning dataset for natural language to visualization (NL2VIS) tasks. Built from real benchmark data (nvBench + Spider), it teaches models to convert natural language queries into structured chart specifications.
Dataset Summary
| Metric | Value |
|---|---|
| Total Examples | 17,457 |
| Format | JSONL (prompt/completion pairs) |
| Languages | English, Hindi, Spanish, French |
| Databases | 166 real SQL schemas |
| License | CC-BY-4.0 |
Dataset Sources
Primary Sources
nvBench (TsinghuaDatabaseGroup)
- 7,247 visualization entries
- 25,750 (NL, VIS) pairs
- 105 domains (sports, healthcare, finance, etc.)
Spider (Yale LILY)
- 166 database schemas
- Exact column names and types
- Real-world SQL databases
Dataset Structure
Data Fields
{
"prompt": "You are a data visualization assistant...\n\nSchema:\nTable: sales\nColumns: date, revenue, region\n\nRequest: Show revenue by region\n\nChart spec:",
"completion": "bar || region || revenue || NONE || SUM"
}
Output Format (Closed-Label)
CHART_TYPE || X_COLUMN || Y_COLUMN || GROUP_COLUMN || AGGREGATE
Valid Values
| Field | Valid Options |
|---|---|
| CHART_TYPE | bar, line, pie, scatter, histogram, heatmap, area, boxplot |
| X_COLUMN | Column name from schema or NONE |
| Y_COLUMN | Column name from schema or NONE |
| GROUP_COLUMN | Column name from schema or NONE |
| AGGREGATE | SUM, COUNT, AVG, MIN, MAX, NONE |
Special Outputs
REFUSE: <reason> # When request cannot be fulfilled
CLARIFY: <question> # When more information needed
Dataset Composition
| Category | Count | Percentage |
|---|---|---|
| Real nvBench + Spider | 13,657 | 78.2% |
| Hard Negatives | 1,500 | 8.6% |
| Chart Balance | 800 | 4.6% |
| Multilingual | 600 | 3.4% |
| Edge Cases | 500 | 2.9% |
| Adversarial | 400 | 2.3% |
By Chart Type
| Chart | Count |
|---|---|
| bar | ~11,000 |
| line | ~2,000 |
| pie | ~1,500 |
| scatter | ~1,200 |
| histogram | ~800 |
| heatmap | ~500 |
| boxplot | ~300 |
| area | ~200 |
By Language
| Language | Count |
|---|---|
| English | ~16,200 |
| Hindi | ~400 |
| Spanish | ~400 |
| French | ~400 |
Data Collection Process
Step 1: nvBench Processing
- Downloaded nvBench.json from TsinghuaDatabaseGroup
- Extracted 7,247 visualization entries
- Mapped chart types to closed vocabulary
Step 2: Spider Schema Resolution
- Downloaded Spider database schemas (tables.json)
- Linked nvBench entries to exact Spider column names
- Validated column existence in schemas
Step 3: COUNT(*) Normalization
- Identified 60.1% of examples with COUNT(column) vs COUNT(*) ambiguity
- Normalized to consistent format (y=NONE, aggregate=COUNT)
- Following methodology from Fernandosr85's 98% submission
Step 4: Hard Negative Generation
- Non-existent column requests → REFUSE
- Invalid chart type requests → REFUSE
- Ambiguous requests → CLARIFY
- Off-topic requests → REFUSE
Step 5: Data Augmentation
- Edge cases (NULL, empty, boundary)
- Multilingual (Hindi, Spanish, French)
- Chart balancing (underrepresented types)
- Adversarial (near-miss traps)
Preprocessing
Cleaning Steps
- Removed invalid chart types (kept only 8 supported)
- Normalized column names to Spider schemas
- Dropped examples with missing required fields
- Deduplicated near-identical entries
Quality Filters
- Minimum query length: 10 characters
- Maximum 2 NL variations per nvBench entry
- Schema validation against Spider
Considerations for Using the Data
Intended Use
- Fine-tuning LLMs for NL2VIS tasks
- Business intelligence chart generation
- Data visualization assistants
Limitations
- English-centric (85% of examples)
- 8 chart types only (no advanced visualizations)
- Requires explicit schema in prompt
Biases
- Overrepresentation of bar charts (nvBench artifact)
- Limited to tabular data (no time-series specific handling)
- Business/academic domains predominant
Additional Information
Dataset Curators
- Ankit Pandey (@pandeyankit99)
Licensing
CC-BY-4.0 (following nvBench and Spider licenses)
Citation
@dataset{dataviz99,
author = {Pandey, Ankit},
title = {DataViz-99: NL2VIS Dataset for AutoScientist Challenge},
year = {2026},
publisher = {Kaggle/HuggingFace},
note = {Built from nvBench and Spider benchmarks}
}
Links
- Kaggle Dataset: https://www.kaggle.com/datasets/pandeyankit99/dataviz-99-final-boosted
- HuggingFace Dataset: [To be uploaded]
- nvBench: https://github.com/TsinghuaDatabaseGroup/nvBench
- Spider: https://yale-lily.github.io/spider
AutoScientist Challenge 2026 - Data Visualization Category Powered by Adaptive Data + AutoScientist by Adaption Labs
- Downloads last month
- 37