Here is my code. I want the pie chart and scatter chart and their associated headings to…
- User
Here is my code. I want the pie chart and scatter chart and their associated headings to be side by side, as well as the polar area and donut charts.
(defn home-page [] [:section.section>div.container>div.content [:h1 {:style {:display "flex" :justify-content "center" :align-items "center"}} "ApexCharts.js"] ;; you MUST remember to dereference [:h4 "ApexCharts Basics"] [:p {:style {:display "flex" :justify-content "center" :align-items "center"}} "ApexCharts is a modern charting library that works with the React framework. It provides a wide range of chart types and features such as animations, zooming, panning, and updating series dynamically. It is also responsive, making it suitable for creating interactive data visualizations for both desktop and mobile devices. It is open-source and provided under the MIT licence, so it is entirely viable for commercial projects."]
[:h4 "Profit Breakdown by Team - Pie Chart"] [:div {:class "slidecontainer"} [:input {:type "range" :id "MyRange1" :min (first (sort (keys @profit-series))) :max (last (sort (keys @profit-series))) :value @year-val :on-change slider-on-change-handler}]] [:p "Data for year: " @year-val] [pie-chart] ;; Pie chart component [:button {:on-click #(reset! profit-series (generate-year-map (+ (rand-int 6) 3)))} "Generate new data"] [:h4 "Correlation For Analysis - Scatter Plot"] [scatter-chart] [:h4 "Profit At A Glance - Bar Graph"] [bar-chart]
;; Area Chart - Shows trend analysis over time[:h4 "Trend Analysis - Area Chart"] [area-chart] ;; Area chart component [:h4 "Schedules and Work Division - Range Bar Chart"] [range-bar-chart]
[:h4 "Time and Statistic Comparison - Radar Chart"] [radar-chart]
[:h4 "Quarterly Product Sales and Impact - Heat Map"] [heat-map-chart] [:h4 "Comparing Sales Trends - Line Chart"] [line-chart]
[:h4 "Pie Chart for Positive Impression - Donut Chart"] [donut-chart]
[:h4 "Comparing Impact - Polar Area Chart"] [polar-area-chart]
[:h4 "Stock Prices and More - Candlestick Chart"] [candlestick-chart] [:h4 "Team Performance Metrics - Bubble Chart"] [bubble-chart] [:h4 "Client Size at a Glance - Treemap Chart"] [treemap-chart]
])
- Assistant
- User
The pie chart area and scatter plot are still not on the same plane horizontally.
- Assistant