added chart js

This commit is contained in:
=
2026-04-08 11:58:43 +10:00
parent 2825e82487
commit 88721a25cd
2 changed files with 34 additions and 1 deletions

View File

@@ -9,8 +9,9 @@ function App() {
return (
<div className="App">
<h3>Самые высокие здания и сооружения</h3>
<Chart />
<Table data={ buildings } amountRows="15" />
<Task/>
{/* <Task/> */}
</div>
)
}

View File

@@ -0,0 +1,32 @@
const Chart = (props) => {
return (
<>
<h4>Визуализация</h4>
<form>
<p> Значение по оси OX: </p>
<div>
<input type="radio" name="ox" value="Страна" />
Страна
<br/>
<input type="radio" name="ox" value="Год" />
Год
</div>
<p> Значение по оси OY </p>
<div>
<input type="checkbox" name="oy" />
Максимальная высота <br/>
<input type="checkbox" name="oy" />
Минимальная высота
</div>
<p>
<button type="submit">Построить </button>
</p>
</form>
</>
)
}
export default Chart;