@@ -198,7 +198,7 @@ Charty.box_plot(data: penguins, x: :species, y: :body_mass_g, color: :sex)
198198Charty's scatter plot shows the relationship between two numeric variables.
199199
200200``` ruby
201- Charty .scatter_plot(data: penguins, x: :body_mass_g , y: flipper_length_mm)
201+ Charty .scatter_plot(data: penguins, x: :body_mass_g , y: : flipper_length_mm )
202202```
203203
204204![ ] ( images/penguins_body_mass_g_flipper_length_mm_scatter_plot.png )
@@ -208,7 +208,7 @@ The following example specifies `:species` variable in the color axis.
208208It shows the different species by the different colors.
209209
210210``` ruby
211- Charty .scatter_plot(data: penguins, x: :body_mass_g , y: flipper_length_mm, color: :species )
211+ Charty .scatter_plot(data: penguins, x: :body_mass_g , y: : flipper_length_mm , color: :species )
212212```
213213
214214![ ] ( images/penguins_body_mass_g_flipper_length_mm_species_scatter_plot.png )
@@ -217,7 +217,7 @@ Moreover, size and style axes can be specified.
217217The following example specifies ` :sex ` variable in the style axis.
218218
219219``` ruby
220- Charty .scatter_plot(data: penguins, x: :body_mass_g , y: flipper_length_mm, color: :species , style: :sex )
220+ Charty .scatter_plot(data: penguins, x: :body_mass_g , y: : flipper_length_mm , color: :species , style: :sex )
221221```
222222
223223![ ] ( images/penguins_body_mass_g_flipper_length_mm_species_sex_scatter_plot.png )
0 commit comments